[9073] Implement hack way detection for cave area 571.

This commit is contained in:
VladimirMangos 2009-12-27 21:48:30 +03:00
parent ec1e30490b
commit dd198ad1ad
2 changed files with 8 additions and 1 deletions

View file

@ -1755,6 +1755,13 @@ uint16 Map::GetAreaFlag(float x, float y, float z) const
case 856: // The Noxious Glade (Eastern Plaguelands) case 856: // The Noxious Glade (Eastern Plaguelands)
case 2456: // Death's Breach (Eastern Plaguelands) case 2456: // Death's Breach (Eastern Plaguelands)
if(z > 350.0f) areaflag = 1950; break; 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 // Dalaran
case 2492: // Forlorn Woods (Crystalsong Forest) case 2492: // Forlorn Woods (Crystalsong Forest)
case 2371: // Valley of Echoes (Icecrown Glacier) case 2371: // Valley of Echoes (Icecrown Glacier)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "9072" #define REVISION_NR "9073"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__