From ae4ba89b05ecebb7fd2f063cf07d76a223bf07f9 Mon Sep 17 00:00:00 2001 From: cabfever Date: Sun, 31 May 2015 16:08:43 +0200 Subject: [PATCH] Instance Reset Fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After a crash or restart, dungeons and raids won’t be completely reset anymore. --- src/game/WorldHandlers/MapPersistentStateMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/WorldHandlers/MapPersistentStateMgr.cpp b/src/game/WorldHandlers/MapPersistentStateMgr.cpp index 8041de93..e272c27a 100644 --- a/src/game/WorldHandlers/MapPersistentStateMgr.cpp +++ b/src/game/WorldHandlers/MapPersistentStateMgr.cpp @@ -995,7 +995,7 @@ void MapPersistentStateManager::LoadCreatureRespawnTimes() { continue; } MapEntry const* mapEntry = sMapStore.LookupEntry(data->mapid); - if (!mapEntry || (instanceId && (mapId != data->mapid || mapEntry->Instanceable()))) + if (!mapEntry || (instanceId && (mapId != data->mapid || !mapEntry->Instanceable()))) { continue; } MapPersistentState* state = AddPersistentState(mapEntry, instanceId, resetTime, mapEntry->IsDungeon(), true);