summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r--src/commandhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp
index d6b03545..8d70b717 100644
--- a/src/commandhandler.cpp
+++ b/src/commandhandler.cpp
@@ -313,7 +313,7 @@ void CommandHandler::handleHelp(const std::string &args, ChatTab *tab)
void CommandHandler::handleWhere(const std::string &args, ChatTab *tab)
{
std::ostringstream where;
- where << map_path << ", coordinates: "
+ where << Game::instance()->getCurrentMapName() << ", coordinates: "
<< ((player_node->getPixelX() - 16) / 32) << ", "
<< ((player_node->getPixelY() - 32) / 32);