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
@@ -2402,7 +2402,7 @@ void InstanceMap::CreateInstanceData(bool load)
|
||||
if (i_data != NULL)
|
||||
return;
|
||||
|
||||
InstanceTemplate const* mInstance = sObjectMgr.GetInstanceTemplate(GetId());
|
||||
InstanceTemplate const* mInstance = ObjectMgr::GetInstanceTemplate(GetId());
|
||||
if (mInstance)
|
||||
{
|
||||
i_script_id = mInstance->script_id;
|
||||
|
||||
Reference in new issue
Block a user