Core/Groups: Correction to comment of GROUP_UPDATE_FLAG_PHASE
This commit is contained in:
1 parent
3fd52c4736
commit
b26a7337f6
2 files changed
+2
-2
No files matched your search
@@ -1172,7 +1172,7 @@ bool SpellArea::IsFitToRequirements(Player const* player, uint32 newZone, uint32
|
||||
{
|
||||
if (!player)
|
||||
return false;
|
||||
|
||||
|
||||
if (Battlefield* battlefieldWG = sBattlefieldMgr->GetBattlefieldByBattleId(BATTLEFIELD_BATTLEID_WG))
|
||||
return battlefieldWG->IsEnabled() && (player->GetTeamId() == battlefieldWG->GetDefenderTeam()) && !battlefieldWG->IsWarTime();
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user