summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-03-05 18:35:35 -0700
committerIra Rice <irarice@gmail.com>2009-03-05 18:35:35 -0700
commit93e45964f3b7a0735984616f622ec32b40a21781 (patch)
tree581d156883ffb1dc6fdcdbaa99552c99e881c8d2 /src/gui
parent448d9076137fc5dde666a90820992a34a945cbf7 (diff)
downloadmana-93e45964f3b7a0735984616f622ec32b40a21781.tar.gz
mana-93e45964f3b7a0735984616f622ec32b40a21781.tar.bz2
mana-93e45964f3b7a0735984616f622ec32b40a21781.tar.xz
mana-93e45964f3b7a0735984616f622ec32b40a21781.zip
Removed a check I added in the previous commit which isn't necessary.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui')
-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)