From 19eaabe57c3efb6b6b8b7bd9bcde8277c71a485d Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Wed, 14 Nov 2007 10:28:49 +0000 Subject: Experimented with non-stuck gaming when talking to NPCs. --- src/gui/popupmenu.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui/popupmenu.cpp') diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index aeb6637d..a1148379 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -123,8 +123,7 @@ void PopupMenu::handleLink(const std::string& link) // Talk To action if (link == "talk" && mBeing != NULL && - mBeing->getType() == Being::NPC && - current_npc == 0) + mBeing->getType() == Being::NPC) { static_cast(mBeing)->talk(); } -- cgit v1.2.3-70-g09d2