aboutsummaryrefslogtreecommitdiff
path: root/src/game/ObjectMgr.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-06 15:45:33 -0600
committermegamage <none@none>2009-02-06 15:45:33 -0600
commita8d5d6fcf17b5541042823d404f96f93a5421b4e (patch)
treebe19ced89f1177fd8cd1c3ac3b51bda1d7a98cc9 /src/game/ObjectMgr.cpp
parentf08e9d323b91720fa46382d9f7c6670ae9afb129 (diff)
parent87474cabdb777d49f6fd05b34064256e03f764cd (diff)
*Merge.
--HG-- branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r--src/game/ObjectMgr.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp
index 2ae6efc5320..0c9ebcd19b8 100644
--- a/src/game/ObjectMgr.cpp
+++ b/src/game/ObjectMgr.cpp
@@ -7919,6 +7919,16 @@ ObjectMgr::ScriptNameMap & GetScriptNames()
return objmgr.GetScriptNames();
}
+GameObjectInfo const *GetGameObjectInfo(uint32 id)
+{
+ return objmgr.GetGameObjectInfo(id);
+}
+
+CreatureInfo const *GetCreatureInfo(uint32 id)
+{
+ return objmgr.GetCreatureTemplate(id);
+}
+
void ObjectMgr::LoadTransportEvents()
{