summaryrefslogtreecommitdiff
path: root/src/gui
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/gui
parent92ca851386f2883f8965bbbd4652f194cbdc3677 (diff)
downloadmanaverse-585c33fc9204e417395c01f3aff8655b3bc97a4f.tar.gz
manaverse-585c33fc9204e417395c01f3aff8655b3bc97a4f.tar.bz2
manaverse-585c33fc9204e417395c01f3aff8655b3bc97a4f.tar.xz
manaverse-585c33fc9204e417395c01f3aff8655b3bc97a4f.zip
Remove "warp map" popup menu handler.
Diffstat (limited to 'src/gui')
-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)