fix: build with latest AC (#11)

This commit is contained in:
UltraNix
2021-08-25 15:59:54 +02:00
committed by GitHub
parent 351e3a6988
commit 912277a0f9

View File

@@ -974,7 +974,7 @@ uint32 AzthUtils::getPositionLevel(bool includeSpecialLvl, Map *map, uint32 zone
uint32 AzthUtils::getPositionLevel(bool includeSpecialLvl, Map *map, WorldLocation const& posInfo) const {
uint32 zoneid,areaid;
map->GetZoneAndAreaId(zoneid, areaid, posInfo.GetPositionX(), posInfo.GetPositionY(), posInfo.GetPositionY());
map->GetZoneAndAreaId(PHASEMASK_NORMAL, zoneid, areaid, posInfo.GetPositionX(), posInfo.GetPositionY(), posInfo.GetPositionY());
return getPositionLevel(includeSpecialLvl, map, zoneid, areaid);
}