Core: It would help if we would actually load gameobject data before checking respawn links if we want to validate linked_respawn data properly

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-12-24 23:56:59 +01:00
parent ac920e763c
commit 95eb430dc0

View File

@@ -1348,9 +1348,6 @@ void World::SetInitialWorldSettings()
sLog->outString("Loading Creature Data...");
sObjectMgr->LoadCreatures();
sLog->outString("Loading Creature Linked Respawn...");
sObjectMgr->LoadLinkedRespawn(); // must be after LoadCreatures()
sLog->outString("Loading pet levelup spells...");
sSpellMgr->LoadPetLevelupSpellMap();
@@ -1372,6 +1369,9 @@ void World::SetInitialWorldSettings()
sLog->outString("Loading Gameobject Respawn Data..."); // must be after PackInstances()
sObjectMgr->LoadGameobjectRespawnTimes();
sLog->outString("Loading Creature Linked Respawn...");
sObjectMgr->LoadLinkedRespawn(); // must be after LoadCreatures(), LoadGameObjects()
sLog->outString("Loading Objects Pooling Data..."); // TODOLEAK: scope
sPoolMgr->LoadFromDB();