summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r--src/commandhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp
index 62e343f6..616529d5 100644
--- a/src/commandhandler.cpp
+++ b/src/commandhandler.cpp
@@ -279,8 +279,8 @@ void CommandHandler::handleWhere(const std::string &args, ChatTab *tab)
{
std::ostringstream where;
where << map_path << ", coordinates: "
- << (player_node->getPixelX() / 32) + 16
- << (player_node->getPixelY() / 32) + 16;
+ << (player_node->getPixelX() / 32)
+ << (player_node->getPixelY() / 32);
tab->chatLog(where.str(), BY_SERVER);
}