Core/DBLayer: Restore removal and cleanup of respawn times of expired instances

This commit is contained in:
leak committed 2012-01-30 00:31:06 +01:00
1 parent 75992143c1
commit 0fbb86f221
2 files changed
+5 -5

No files matched your search

@@ -532,8 +532,8 @@ void InstanceSaveManager::_ResetInstance(uint32 mapid, uint32 instanceId)
if (iMap && iMap->IsDungeon())
((InstanceMap*)iMap)->Reset(INSTANCE_RESET_RESPAWN_DELAY);
else
sObjectMgr->DeleteRespawnTimeForInstance(instanceId); // even if map is not loaded
sObjectMgr->DeleteRespawnTimeForInstance(instanceId); // even if map is not loaded
// Free up the instance id and allow it to be reused
sMapMgr->FreeInstanceId(instanceId);