*Do not allow pvp in dk start zone.

*Improve petsetaction code.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-21 13:42:09 -06:00
parent b6e8e8a21f
commit c1a3f51f04
2 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -6568,7 +6568,7 @@ void Player::UpdateZone(uint32 newZone, uint32 newArea)
pvpInfo.endTimer = time(0); // start toggle-off
}
if(zone->flags & (AREA_FLAG_SANCTUARY | AREA_FLAG_UNK7 & AREA_FLAG_UNK7)) // in sanctuary
if((zone->flags & AREA_FLAG_SANCTUARY) || zone->mapid == 609) // in sanctuary
{
SetByteFlag(UNIT_FIELD_BYTES_2, 1, UNIT_BYTE2_FLAG_SANCTUARY);
if(sWorld.IsFFAPvPRealm())