diff options
author | _manuel_ <manue.l@live.com.ar> | 2010-05-29 14:13:56 -0300 |
---|---|---|
committer | _manuel_ <manue.l@live.com.ar> | 2010-05-29 14:13:56 -0300 |
commit | 78cb29a30d481f4062f75b652ecda5eb4d2c8fe6 (patch) | |
tree | e75813df352a3bf2b3ff05f5132ee9fcf1cc8418 /src/game/Map.cpp | |
parent | 1758940ce2bd29bc41617649fcfe48a9e372c288 (diff) |
Implemented areaflag hacks for areas Sunreaver Pavilion and Silver Covenant Pavilion.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Map.cpp')
-rw-r--r-- | src/game/Map.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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) |