Core/Misc: Code cleanup

(cherry picked from commit eeced9ae158640de67ed0cb59d01ae92570bfa77)
This commit is contained in:
jackpoz
2021-12-11 23:20:05 +01:00
committed by Shauren
parent 1c3c59d7fa
commit dd22c6fe67
+1 -1
View File
@@ -2152,7 +2152,7 @@ void Group::ResetInstances(uint8 method, bool isRaid, bool isLegacy, Player* Sen
// do not reset the instance, just unbind if others are permanently bound to it
if (isEmpty && instanceSave->CanReset())
{
if (map && this->isRaidGroup() && map->IsDungeon() && SendMsgTo)
if (map && isRaidGroup() && map->IsDungeon() && SendMsgTo)
{
AreaTriggerStruct const* instanceEntrance = sObjectMgr->GetGoBackTrigger(map->GetId());