diff options
author | megamage <none@none> | 2009-08-18 17:18:24 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-18 17:18:24 -0500 |
commit | 0ca72750436e1ec1f28fae6f2441ce37c6696097 (patch) | |
tree | c1d898cc8349e678346ccd8d022bc551559491dc /src/game/Map.cpp | |
parent | a3a9bf2622e141fa2309ebbe140fc55c935992ac (diff) |
*more area flags for Dalaran By raven_coda
--HG--
branch : trunk
Diffstat (limited to 'src/game/Map.cpp')
-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; } |