summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2009-05-02 17:30:38 -0400
committerChuck Miller <shadowmil@gmail.com>2009-05-02 17:30:38 -0400
commite9dde578622003eea93e9fd8c0486c6ad073d26e (patch)
treef7fed2d5994e1d422447007920810a0a732e5241 /src/commandhandler.cpp
parentb347948ba3e4aff7e553ce88b70594abee1e1ba0 (diff)
downloadMana-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.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);
}