aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2020-09-26 16:14:32 +0200
committerjackpoz <giacomopoz@gmail.com>2020-09-26 16:14:32 +0200
commit34af088c9b381db5b5212075f0df486a8593fae3 (patch)
tree8adf430ec1f6de9e5dce03a5301884b9e31b7b0e /src
parentc49d6f97f02b34ea119e923bf36e357b581a1a22 (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.cpp2
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());