--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-06-18 20:26:49 -05:00
commit e0553121f2
8 files changed
+39 -17

No files matched your search

+6 -1
View File
@@ -1511,7 +1511,12 @@ void Group::ResetInstances(uint8 method, Player* SendMsgTo)
// if the map is loaded, reset it
Map *map = MapManager::Instance().FindMap(p->GetMapId(), p->GetInstanceId());
if(map && map->IsDungeon())
isEmpty = ((InstanceMap*)map)->Reset(method);
{
if(p->CanReset())
isEmpty = ((InstanceMap*)map)->Reset(method);
else
isEmpty = !map->HavePlayers();
}
if(SendMsgTo)
{