From 2b9df41d39302e782729fd4009cb57165793f2ef Mon Sep 17 00:00:00 2001 From: GriffonHeart Date: Sat, 7 Mar 2009 09:12:47 +0300 Subject: [PATCH] [7397] Implement above ground zone 4395 detection. By hack code until proper multilevel zone data store not implemented. Signed-off-by: VladimirMangos --- src/game/Map.cpp | 5 +++++ src/shared/revision_nr.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/game/Map.cpp b/src/game/Map.cpp index cafb3464c..0796e3a4f 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -1240,6 +1240,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 4de2813dd..3323da171 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__ -- 2.11.4.GIT