diff options
author | megamage <none@none> | 2009-03-13 17:14:02 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-13 17:14:02 -0600 |
commit | 7c33373289e236520d5150476cbe30ef42045153 (patch) | |
tree | e5c00d9a2e00eb81e36222fe3d36ba221eb35820 /src/game/ObjectMgr.cpp | |
parent | 5ea92ebb129fd868bcb5049616266b4d4db6f1f4 (diff) |
*Merge more contents from SD2. By nofantasy. Also backport some content from TC2.
--HG--
branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r-- | src/game/ObjectMgr.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index 7da8e89b26b..fbe22bea64b 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -7257,6 +7257,16 @@ CreatureInfo const *GetCreatureInfo(uint32 id) return objmgr.GetCreatureTemplate(id); } +CreatureInfo const* GetCreatureTemplateStore(uint32 entry) +{ + return sCreatureStorage.LookupEntry<CreatureInfo>(entry); +} + +Quest const* GetQuestTemplateStore(uint32 entry) +{ + return objmgr.GetQuestTemplate(entry); +} + void ObjectMgr::LoadTransportEvents() { |