Core/Groups: Correction to comment of GROUP_UPDATE_FLAG_PHASE

This commit is contained in:
Nay committed 2012-08-27 00:26:02 +01:00
1 parent 3fd52c4736
commit b26a7337f6
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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;