From 78cb29a30d481f4062f75b652ecda5eb4d2c8fe6 Mon Sep 17 00:00:00 2001 From: _manuel_ Date: Sat, 29 May 2010 14:13:56 -0300 Subject: Implemented areaflag hacks for areas Sunreaver Pavilion and Silver Covenant Pavilion. --HG-- branch : trunk --- src/game/Map.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/game/Map.cpp b/src/game/Map.cpp index d7bcabecbb3..36fb9b33719 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -1779,6 +1779,12 @@ uint16 Map::GetAreaFlag(float x, float y, float z) const // not provided correct areaflag with this hacks switch(areaflag) { + case 2817: // Argent Tournament Grounds (Icecrown) + if (x < 8445.0f && x > 8390.0f && y > 640.0f && y < 689.0f && 548.0f < z && z < 562.0f) + areaflag = 2875; // Sunreaver Pavilion (Icecrown) + else if (x > 8587.0f && x < 8629.0f && y > 646.0f && y < 686.0f && 548.0f < z && z < 562.0f) + areaflag = 2879; // Silver Covenant Pavilion (Icecrown) + break; case 2227: // The Foot Steppes (Storm Peaks) case 2207: // Sifreldar Village (Storm Peaks) if (6924.0f < x && x < 6980.0f && -1520.0f < y && y < -1432.0f && 838.0f < z && z < 843.0f) -- cgit v1.2.3