diff options
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r-- | src/commandhandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp index 91c65f83..6265f350 100644 --- a/src/commandhandler.cpp +++ b/src/commandhandler.cpp @@ -279,7 +279,8 @@ void CommandHandler::handleWhere(const std::string &args, ChatTab *tab) std::ostringstream where; where << map_path << ", coordinates: " << (player_node->getPixelX() / 32) << ", " - << (player_node->getPixelY() / 32); + << ((player_node->getPixelY() / 32) - 1); // Not real sure why we remove 1, + // but it makes it in sync with @where tab->chatLog(where.str(), BY_SERVER); } |