Core/ObjectMgr: Refactor sGOStorage
This commit is contained in:
1 parent
3ab83417f5
commit
e2e9431ca3
23 files changed
+327
-280
No files matched your search
@@ -683,7 +683,7 @@ void PoolMgr::LoadFromDB()
|
||||
continue;
|
||||
}
|
||||
|
||||
GameObjectInfo const* goinfo = ObjectMgr::GetGameObjectInfo(data->id);
|
||||
GameObjectTemplate const* goinfo = sObjectMgr->GetGameObjectTemplate(data->id);
|
||||
if (goinfo->type != GAMEOBJECT_TYPE_CHEST &&
|
||||
goinfo->type != GAMEOBJECT_TYPE_GOOBER &&
|
||||
goinfo->type != GAMEOBJECT_TYPE_FISHINGHOLE)
|
||||
|
||||
Reference in new issue
Block a user