Core/InstanceSaveMgr: Optimize instance packing and cleaning up

--HG--
branch : trunk
This commit is contained in:
linencloth
2010-12-18 23:43:44 +01:00
parent 454444a1af
commit a8214a682a
3 changed files with 33 additions and 110 deletions
+2 -5
View File
@@ -1256,11 +1256,8 @@ void World::SetInitialWorldSettings()
sSpellMgr.LoadSkillLineAbilityMap();
///- Clean up and pack instances
sLog.outString("Cleaning up instances...");
sInstanceSaveMgr.CleanupInstances(); // must be called before `creature_respawn`/`gameobject_respawn` tables
sLog.outString("Packing instances...");
sInstanceSaveMgr.PackInstances();
sLog.outString("Cleaning up and packing instances...");
sInstanceSaveMgr.CleanupAndPackInstances(); // must be called before `creature_respawn`/`gameobject_respawn` tables
sLog.outString("Loading Localization strings...");
sObjectMgr.LoadCreatureLocales();