From b7934fc24505b42f03764a9dddbfe6ab1d1af2c3 Mon Sep 17 00:00:00 2001 From: tartalo Date: Tue, 1 Dec 2009 11:11:41 +0100 Subject: Fix area flag problem, by Spp: Dalaran. Closes #509 --HG-- branch : trunk --- src/game/Map.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game/Map.cpp') diff --git a/src/game/Map.cpp b/src/game/Map.cpp index aba3f6b1486..c7e6ca8105c 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -1854,6 +1854,7 @@ uint16 Map::GetAreaFlag(float x, float y, float z) const if(z > 350.0f) areaflag = 1950; break; // Dalaran case 2492: // Forlorn Woods (Crystalsong Forest) + case 2371: // Valley of Echoes (Icecrown Glacier) if (x > 5568.0f && x < 6116.0f && y > 282.0f && y < 982.0f && z > 563.0f) { // Krasus' Landing (Dalaran), fast check @@ -1862,7 +1863,7 @@ uint16 Map::GetAreaFlag(float x, float y, float z) const // Krasus' Landing (Dalaran), with open east side if (y < 449.33f || (x-5813.9f)*(x-5813.9f)+(y-449.33f)*(y-449.33f) < 1864.0f) { - areaflag = 2533; // Note: also 2633, possible one flight allowed and other not allowed case + areaflag = 2531; // Note: also 2633, possible one flight allowed and other not allowed case break; } } -- cgit v1.2.3