Core/Area: Updated AreaFlags documentation to match 3.3.5 dbcs.

This commit is contained in:
kaelima
2011-05-27 00:58:18 +02:00
parent 0ad14aeafd
commit 78692e1246
3 changed files with 15 additions and 14 deletions
+1 -1
View File
@@ -7391,7 +7391,7 @@ void Player::UpdateZone(uint32 newZone, uint32 newArea)
break;
case AREATEAM_NONE:
// overwrite for battlegrounds, maybe batter some zone flags but current known not 100% fit to this
pvpInfo.inHostileArea = sWorld->IsPvPRealm() || InBattleground() || zone->flags & AREA_FLAG_OUTDOOR_PVP;
pvpInfo.inHostileArea = sWorld->IsPvPRealm() || InBattleground() || zone->flags & AREA_FLAG_WINTERGRASP;
break;
default: // 6 in fact
pvpInfo.inHostileArea = false;