mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[7397] Implement above ground zone 4395 detection.
By hack code until proper multilevel zone data store not implemented. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
1727657ab5
commit
13ca8d7064
2 changed files with 6 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7396"
|
||||
#define REVISION_NR "7397"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue