diff options
author | Chuck Miller <shadowmil@gmail.com> | 2009-05-02 17:30:38 -0400 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2009-05-02 17:30:38 -0400 |
commit | e9dde578622003eea93e9fd8c0486c6ad073d26e (patch) | |
tree | f7fed2d5994e1d422447007920810a0a732e5241 /src/commandhandler.cpp | |
parent | b347948ba3e4aff7e553ce88b70594abee1e1ba0 (diff) | |
download | mana-e9dde578622003eea93e9fd8c0486c6ad073d26e.tar.gz mana-e9dde578622003eea93e9fd8c0486c6ad073d26e.tar.bz2 mana-e9dde578622003eea93e9fd8c0486c6ad073d26e.tar.xz mana-e9dde578622003eea93e9fd8c0486c6ad073d26e.zip |
fixed so /where will show the correct correct coords
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r-- | src/commandhandler.cpp | 4 |
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); } |