Skip to content

Commit

Permalink
fix: build with latest AC (azerothcore#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
UltraNix authored Aug 25, 2021
1 parent 351e3a6 commit 912277a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mod-as-common/src/game/AzthUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 912277a

Please sign in to comment.