mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
[7397] Implement above ground zone 4395 detection. Author: GriffonHeart
By hack code until proper multilevel zone data store not implemented. --HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user