summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/popupmenu.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index ebaba977..cead20ed 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -147,15 +147,6 @@ void PopupMenu::handleLink(const std::string& link)
{
Being *being = beingManager->findBeing(mBeingId);
- if (!being)
- {
- mBeingId = 0;
- mFloorItem = NULL;
- mItem = NULL;
- setVisible(false);
- return;
- }
-
// Talk To action
if (link == "talk" && being && being->getType() == Being::NPC &&
current_npc == 0)