From 051b5fc10eaec4f4aec1de8e79f2feae60f0e084 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 Aug 2014 20:34:25 +0300 Subject: Move chat command /where into actions. --- src/commands.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/commands.cpp') 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(); -- cgit v1.2.3-70-g09d2