From dd198ad1ad304407e1eaf345f252399e8e93fa16 Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Sun, 27 Dec 2009 21:48:30 +0300 Subject: [PATCH] [9073] Implement hack way detection for cave area 571. --- src/game/Map.cpp | 7 +++++++ src/shared/revision_nr.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/game/Map.cpp b/src/game/Map.cpp index 090f394d6..954913fbd 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -1755,6 +1755,13 @@ 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; + // Winterfin Caverns + case 1652: // Coldarra + case 1653: // The Westrift + case 1661: // Winterfin Village + if (x > 3823.0f && x < 4141.5f && y > 6247.0f && y < 64890.0f && z < 42.5f) + areaflag = 1723; + break; // Dalaran case 2492: // Forlorn Woods (Crystalsong Forest) case 2371: // Valley of Echoes (Icecrown Glacier) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 314faef12..da1c7a361 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 "9072" + #define REVISION_NR "9073" #endif // __REVISION_NR_H__