Core/Maps: Fix exploit with players changing raid-difficulty and getting no cooldown on respective instance - Patch by selector

--HG--
branch : trunk
This commit is contained in:
click
2010-11-07 23:53:26 +01:00
parent 44850aab07
commit 551d0cea4e

View File

@@ -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)