Core/ObjectMgr: Static members are no longer accessed through singleton
--HG-- branch : trunk
This commit is contained in:
1 parent
446c300505
commit
7b4e1c6387
43 files changed
+123
-128
No files matched your search
@@ -2271,7 +2271,7 @@ GameObject* WorldObject::SummonGameObject(uint32 entry, float x, float y, float
|
||||
if (!IsInWorld())
|
||||
return NULL;
|
||||
|
||||
GameObjectInfo const* goinfo = sObjectMgr.GetGameObjectInfo(entry);
|
||||
GameObjectInfo const* goinfo = ObjectMgr::GetGameObjectInfo(entry);
|
||||
if (!goinfo)
|
||||
{
|
||||
sLog.outErrorDb("Gameobject template %u not found in database!", entry);
|
||||
|
||||
Reference in new issue
Block a user