aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-07 10:42:54 -0600
committermegamage <none@none>2009-03-07 10:42:54 -0600
commit99c765cec321e62fe97e58532544020ec83230e4 (patch)
tree0ca9c8abb93e7ce76dd61a68c1e783d73242675f
parentacceab49c63d112ff6c7fa06dbd80566a959955e (diff)
[7397] Implement above ground zone 4395 detection. Author: GriffonHeart
By hack code until proper multilevel zone data store not implemented. --HG-- branch : trunk
-rw-r--r--src/game/Map.cpp5
-rw-r--r--src/shared/revision_nr.h2
2 files changed, 6 insertions, 1 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;
diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h
index 4de2813ddd8..3323da17142 100644
--- a/src/shared/revision_nr.h
+++ b/src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
- #define REVISION_NR "7396"
+ #define REVISION_NR "7397"
#endif // __REVISION_NR_H__