diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-16 00:08:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-16 00:08:56 +0300 |
commit | 585c33fc9204e417395c01f3aff8655b3bc97a4f (patch) | |
tree | 41d854e665c36d7993a452e03ebbe60985cae9f7 | |
parent | 92ca851386f2883f8965bbbd4652f194cbdc3677 (diff) | |
download | manaverse-585c33fc9204e417395c01f3aff8655b3bc97a4f.tar.gz manaverse-585c33fc9204e417395c01f3aff8655b3bc97a4f.tar.bz2 manaverse-585c33fc9204e417395c01f3aff8655b3bc97a4f.tar.xz manaverse-585c33fc9204e417395c01f3aff8655b3bc97a4f.zip |
Remove "warp map" popup menu handler.
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 16 |
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) |