From 551d0cea4e9a50c3136e515b2fd7eec01bef4bbf Mon Sep 17 00:00:00 2001 From: click Date: Sun, 7 Nov 2010 23:53:26 +0100 Subject: Core/Maps: Fix exploit with players changing raid-difficulty and getting no cooldown on respective instance - Patch by selector --HG-- branch : trunk --- src/server/game/Maps/Map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Maps/Map.cpp b/src/server/game/Maps/Map.cpp index ed77fee63dc..fc2b5ecb080 100755 --- a/src/server/game/Maps/Map.cpp +++ b/src/server/game/Maps/Map.cpp @@ -2466,7 +2466,7 @@ bool InstanceMap::Reset(uint8 method) if (HavePlayers()) { - if (method == INSTANCE_RESET_ALL) + if (method == INSTANCE_RESET_ALL || method == INSTANCE_RESET_CHANGE_DIFFICULTY) { // notify the players to leave the instance so it can be reset for (MapRefManager::iterator itr = m_mapRefManager.begin(); itr != m_mapRefManager.end(); ++itr) -- cgit v1.2.3