From e9dde578622003eea93e9fd8c0486c6ad073d26e Mon Sep 17 00:00:00 2001 From: Chuck Miller Date: Sat, 2 May 2009 17:30:38 -0400 Subject: fixed so /where will show the correct correct coords --- src/commandhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); } -- cgit v1.2.3-70-g09d2