summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r--src/gui/popupmenu.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index d3298961..94d39e78 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -262,13 +262,9 @@ void PopupMenu::handleLink(const std::string &link)
player_node->equipItem(mItem);
#else
if (mItem->isEquipped())
- {
player_node->unequipItem(mItem);
- }
else
- {
player_node->equipItem(mItem);
- }
#endif
}
else