From 1bf8d1c50b705d1536fcd9918ecdfe7edfb85a59 Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 21 Dec 2008 09:15:04 -0600 Subject: *Fix a bug that causes freeze. --HG-- branch : trunk --- src/game/Player.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/game/Player.cpp b/src/game/Player.cpp index e1b24794cac..e9a7a0f73ed 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -16039,7 +16039,10 @@ void Player::ResetInstances(uint8 method) Map *map = MapManager::Instance().FindMap(p->GetMapId(), p->GetInstanceId()); if(map && map->IsDungeon()) if(!((InstanceMap*)map)->Reset(method)) + { + ++itr; continue; + } // since this is a solo instance there should not be any players inside if(method == INSTANCE_RESET_ALL || method == INSTANCE_RESET_CHANGE_DIFFICULTY) -- cgit v1.2.3