diff options
author | jackpoz <giacomopoz@gmail.com> | 2020-12-27 17:14:22 +0100 |
---|---|---|
committer | jackpoz <giacomopoz@gmail.com> | 2020-12-27 17:14:22 +0100 |
commit | 9994459bd197d5555cfa16ab3d35d9c362a563fd (patch) | |
tree | d5d8454f721f74eb53401d482deeafc3befb9433 /src | |
parent | f62306f52d28f8c16047b27bd741d4356958da75 (diff) |
Scripts/Commands: Include map min height in ".gps" command
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Commands/cs_misc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Commands/cs_misc.cpp b/src/server/scripts/Commands/cs_misc.cpp index 95b6559df4d..284d592a447 100644 --- a/src/server/scripts/Commands/cs_misc.cpp +++ b/src/server/scripts/Commands/cs_misc.cpp @@ -291,7 +291,7 @@ public: transport->GetEntry(), transport->GetName().c_str()); handler->PSendSysMessage(LANG_GRID_POSITION, cell.GridX(), cell.GridY(), cell.CellX(), cell.CellY(), object->GetInstanceId(), - zoneX, zoneY, groundZ, floorZ, haveMap, haveVMap, haveMMap); + zoneX, zoneY, groundZ, floorZ, map->GetMinHeight(object->GetPositionX(), object->GetPositionY()), haveMap, haveVMap, haveMMap); LiquidData liquidStatus; ZLiquidStatus status = map->GetLiquidStatus(object->GetPhaseMask(), object->GetPositionX(), object->GetPositionY(), object->GetPositionZ(), MAP_ALL_LIQUIDS, &liquidStatus, object->GetCollisionHeight()); |