summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-23 20:34:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-23 20:34:25 +0300
commit051b5fc10eaec4f4aec1de8e79f2feae60f0e084 (patch)
tree16d14e76fa3654b99646fcf95bd91252429a05e8 /src/commands.cpp
parent0bda5a9018bb8a8b0511e86d6b0790a5b5127e42 (diff)
downloadmv-051b5fc10eaec4f4aec1de8e79f2feae60f0e084.tar.gz
mv-051b5fc10eaec4f4aec1de8e79f2feae60f0e084.tar.bz2
mv-051b5fc10eaec4f4aec1de8e79f2feae60f0e084.tar.xz
mv-051b5fc10eaec4f4aec1de8e79f2feae60f0e084.zip
Move chat command /where into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 1d273c90a..6a1094b51 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -251,16 +251,6 @@ static void outStringNormal(ChatTab *const tab,
}
}
-impHandler(where)
-{
- std::ostringstream where;
- where << Game::instance()->getCurrentMapName() << ", coordinates: "
- << ((localPlayer->getPixelX() - mapTileSize / 2) / mapTileSize)
- << ", " << ((localPlayer->getPixelY() - mapTileSize) / mapTileSize);
- event.tab->chatLog(where.str(), ChatMsgType::BY_SERVER);
- return true;
-}
-
impHandler0(who)
{
Net::getChatHandler()->who();