diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Map.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/game/Map.cpp b/src/game/Map.cpp index 3e658361145..132a61a4f8d 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -1767,6 +1767,13 @@ uint16 Map::GetAreaFlag(float x, float y, float z) const } } + // The Violet Hold (Dalaran), fast check + if (x < 5791.0f && y > 404.0f && y < 595.0f) + { + areaflag = 2540; + break; + } + // Dalaran areaflag = 2153; } @@ -1788,6 +1795,20 @@ uint16 Map::GetAreaFlag(float x, float y, float z) const } } + // The Eventide (Dalaran), fast check against diagonal box with lower limit + if (z > 635.0f && x+y < 6375.0f && x+y > 6295.0f && x-y < 5106.0f && x-y > 4972.0f) + { + areaflag = 2543; + break; + } + + // The Violet Hold (Dalaran), fast check + if (x < 5791.0f && y > 404.0f && y < 595.0f) + { + areaflag = 2540; + break; + } + // Dalaran areaflag = 2153; } |