mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
fix(Core/Maps): fix getting wrong area/zone on spawn (#7590)
- Closes #7580
This commit is contained in:
@@ -2118,7 +2118,7 @@ uint32 Map::GetAreaId(uint32 phaseMask, float x, float y, float z) const
|
||||
{
|
||||
uint32 mogpFlags;
|
||||
int32 adtId, rootId, groupId;
|
||||
float vmapZ = 0.f;
|
||||
float vmapZ = z;
|
||||
bool hasVmapArea = GetAreaInfo(phaseMask, x, y, vmapZ, mogpFlags, adtId, rootId, groupId);
|
||||
|
||||
uint32 gridAreaId = 0;
|
||||
|
||||
Reference in New Issue
Block a user