mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[9565] Add detection code for partly cave area 3780
This commit is contained in:
parent
5d84477f7f
commit
530580876f
2 changed files with 6 additions and 1 deletions
|
|
@ -1717,6 +1717,11 @@ uint16 Map::GetAreaFlag(float x, float y, float z) const
|
||||||
// not provided correct areaflag with this hacks
|
// not provided correct areaflag with this hacks
|
||||||
switch(areaflag)
|
switch(areaflag)
|
||||||
{
|
{
|
||||||
|
case 1146: // Blade's Edge Mountains
|
||||||
|
case 1409: // Forge Camp: Wrath (Blade's Edge Mountains)
|
||||||
|
if (x > 3025.0f && x < 3207.0f && y > 6987.0f && y < 7165.0f && z < 183.0f)
|
||||||
|
areaflag = 1404; // Blackwing Coven (Blade's Edge Mountains)
|
||||||
|
break;
|
||||||
// Acherus: The Ebon Hold (Plaguelands: The Scarlet Enclave)
|
// Acherus: The Ebon Hold (Plaguelands: The Scarlet Enclave)
|
||||||
case 1984: // Plaguelands: The Scarlet Enclave
|
case 1984: // Plaguelands: The Scarlet Enclave
|
||||||
case 2076: // Death's Breach (Plaguelands: The Scarlet Enclave)
|
case 2076: // Death's Breach (Plaguelands: The Scarlet Enclave)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9564"
|
#define REVISION_NR "9565"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue