Core/ObjectMgr: Refactor sGOStorage

This commit is contained in:
leak committed 2011-04-28 22:54:30 +02:00
1 parent 3ab83417f5
commit e2e9431ca3
23 files changed
+327 -280

No files matched your search

+1 -1
View File
@@ -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)