diff options
author | megamage <none@none> | 2009-03-07 10:42:54 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-07 10:42:54 -0600 |
commit | 99c765cec321e62fe97e58532544020ec83230e4 (patch) | |
tree | 0ca9c8abb93e7ce76dd61a68c1e783d73242675f /src/game/Map.cpp | |
parent | acceab49c63d112ff6c7fa06dbd80566a959955e (diff) |
[7397] Implement above ground zone 4395 detection. Author: GriffonHeart
By hack code until proper multilevel zone data store not implemented.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Map.cpp')
-rw-r--r-- | src/game/Map.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/Map.cpp b/src/game/Map.cpp index bc81b0bbec4..58ae50ee1dd 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -1370,6 +1370,11 @@ uint16 Map::GetAreaFlag(float x, float y, float z) const case 856: // The Noxious Glade (Eastern Plaguelands) case 2456: // Death's Breach (Eastern Plaguelands) if(z > 350.0f) areaflag = 1950; break; + // Dalaran + case 1593: + case 2484: + case 2492: + if( (x < 6116 && x > 5568) && (y < 982 && y > 282) && z > 563.0f) areaflag = 2153; break; } return areaflag; |