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, 1 insertions, 3 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index 75259dda..878ba7b8 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -205,9 +205,7 @@ void PopupMenu::handleLink(const std::string &link)
// Talk To action
if (link == "talk" &&
- being &&
- being->getType() == Being::NPC &&
- current_npc == 0)
+ being && being->getType() == Being::NPC)
{
dynamic_cast<NPC*>(being)->talk();
}