From 93e45964f3b7a0735984616f622ec32b40a21781 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Thu, 5 Mar 2009 18:35:35 -0700 Subject: Removed a check I added in the previous commit which isn't necessary. Signed-off-by: Ira Rice --- src/gui/popupmenu.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src') 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) -- cgit v1.2.3-70-g09d2