From 9418053b37fdc6172fede4f3838cb914fc6e6dd7 Mon Sep 17 00:00:00 2001 From: megamage Date: Tue, 7 Jul 2009 06:05:30 +0800 Subject: [PATCH] [8108] Fixed a case in resetting group binds where the actual map reset was done even though it had permanent binds. This is a temp fix as the function should be rewritten to be more clear / less error prone. Author: lukaasm --HG-- branch : trunk --- src/game/Group.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Group.cpp b/src/game/Group.cpp index 9db043b28f..8a02afa25d 100644 --- a/src/game/Group.cpp +++ b/src/game/Group.cpp @@ -1510,7 +1510,7 @@ void Group::ResetInstances(uint8 method, Player* SendMsgTo) bool isEmpty = true; // if the map is loaded, reset it Map *map = MapManager::Instance().FindMap(p->GetMapId(), p->GetInstanceId()); - if(map && map->IsDungeon()) + if(map && map->IsDungeon() && !(method == INSTANCE_RESET_GROUP_DISBAND && !p->CanReset())) { if(p->CanReset()) isEmpty = ((InstanceMap*)map)->Reset(method);