summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
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)