diff options
author | jackpoz <giacomopoz@gmail.com> | 2020-09-26 16:14:32 +0200 |
---|---|---|
committer | jackpoz <giacomopoz@gmail.com> | 2020-09-26 16:14:32 +0200 |
commit | 34af088c9b381db5b5212075f0df486a8593fae3 (patch) | |
tree | 8adf430ec1f6de9e5dce03a5301884b9e31b7b0e /src | |
parent | c49d6f97f02b34ea119e923bf36e357b581a1a22 (diff) |
Core/Commands: Fix typo in .mmap loc command
The displayed "tileloc" value is a "swapped" Tile XY, not to be confused with Grid XY.
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Commands/cs_mmaps.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Commands/cs_mmaps.cpp b/src/server/scripts/Commands/cs_mmaps.cpp index adde103f0f2..8c6ce97af51 100644 --- a/src/server/scripts/Commands/cs_mmaps.cpp +++ b/src/server/scripts/Commands/cs_mmaps.cpp @@ -134,7 +134,7 @@ public: int32 gy = 32 - player->GetPositionY() / SIZE_OF_GRIDS; handler->PSendSysMessage("%03u%02i%02i.mmtile", player->GetMapId(), gx, gy); - handler->PSendSysMessage("gridloc [%i, %i]", gy, gx); + handler->PSendSysMessage("tileloc [%i, %i]", gy, gx); // calculate navmesh tile location dtNavMesh const* navmesh = MMAP::MMapFactory::createOrGetMMapManager()->GetNavMesh(handler->GetSession()->GetPlayer()->GetMapId()); |