fix(Scripts/Commands): Fill the missing argument for the GPS command so it displays its message correctly (#8734)

This commit is contained in:
Skjalf
2021-10-27 06:28:52 -03:00
committed by GitHub
parent 2cf4d05867
commit 8665452c28

View File

@@ -477,6 +477,7 @@ public:
uint32 haveMap = Map::ExistMap(object->GetMapId(), gridX, gridY) ? 1 : 0;
uint32 haveVMap = Map::ExistVMap(object->GetMapId(), gridX, gridY) ? 1 : 0;
uint32 haveMMAP = MMAP::MMapFactory::createOrGetMMapMgr()->GetNavMesh(handler->GetSession()->GetPlayer()->GetMapId()) ? 1 : 0;
if (haveVMap)
{
@@ -495,7 +496,7 @@ public:
object->GetPhaseMask(),
object->GetPositionX(), object->GetPositionY(), object->GetPositionZ(), object->GetOrientation(),
cell.GridX(), cell.GridY(), cell.CellX(), cell.CellY(), object->GetInstanceId(),
zoneX, zoneY, groundZ, floorZ, haveMap, haveVMap);
zoneX, zoneY, groundZ, floorZ, haveMap, haveVMap, haveMMAP);
LiquidData const& liquidData = object->GetLiquidData();