summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-16 00:08:56 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-16 00:08:56 +0300
commit585c33fc9204e417395c01f3aff8655b3bc97a4f (patch)
tree41d854e665c36d7993a452e03ebbe60985cae9f7 /src
parent92ca851386f2883f8965bbbd4652f194cbdc3677 (diff)
downloadplus-585c33fc9204e417395c01f3aff8655b3bc97a4f.tar.gz
plus-585c33fc9204e417395c01f3aff8655b3bc97a4f.tar.bz2
plus-585c33fc9204e417395c01f3aff8655b3bc97a4f.tar.xz
plus-585c33fc9204e417395c01f3aff8655b3bc97a4f.zip
Remove "warp map" popup menu handler.
Diffstat (limited to 'src')
-rw-r--r--src/gui/popups/popupmenu.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index f79ffba7a..25e48708c 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -987,22 +987,6 @@ void PopupMenu::handleLink(const std::string &link,
inputManager.executeChatCommand(InputAction::CLOSE_CHAT_TAB,
std::string(), mTab);
}
- else if (link == "warp map" && mMapItem)
- {
- if (Game::instance())
- {
- adminHandler->warp(Game::instance()->getCurrentMapName(),
- mMapItem->getX(), mMapItem->getY());
- }
- }
- else if (link == "warp map" && (mX || mY))
- {
- if (Game::instance())
- {
- adminHandler->warp(Game::instance()->getCurrentMapName(),
- mX, mY);
- }
- }
else if (link == "remove map" && mMapItem)
{
if (viewport)