Core/Instances: Recycle instance IDs. Should fix instance ID shifting and related issues with instance binding.

fixes #736
This commit is contained in:
leak
2011-03-10 22:22:27 +01:00
parent c28c3233ef
commit 4569e4852a
6 changed files with 117 additions and 45 deletions
+3 -3
View File
@@ -1253,9 +1253,9 @@ void World::SetInitialWorldSettings()
sLog->outString("Loading SkillLineAbilityMultiMap Data...");
sSpellMgr->LoadSkillLineAbilityMap();
///- Clean up and pack instances
sLog->outString("Cleaning up and packing instances...");
sInstanceSaveMgr->CleanupAndPackInstances(); // must be called before `creature_respawn`/`gameobject_respawn` tables
// Must be called before `creature_respawn`/`gameobject_respawn` tables
sLog->outString("Loading instances...");
sInstanceSaveMgr->LoadInstances();
sLog->outString("Loading Localization strings...");
uint32 oldMSTime = getMSTime();