From 023ca895db6aaf1c4ed5a2240cf85443f83e84db Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 10 Jan 2010 17:53:54 +0000 Subject: Fix handling of NPC talking status --- src/gui/buysell.cpp | 2 -- src/gui/npcdialog.cpp | 1 - 2 files changed, 3 deletions(-) (limited to 'src/gui') diff --git a/src/gui/buysell.cpp b/src/gui/buysell.cpp index c96c9f24..be6b75f1 100644 --- a/src/gui/buysell.cpp +++ b/src/gui/buysell.cpp @@ -81,8 +81,6 @@ void BuySellDialog::action(const gcn::ActionEvent &event) { setVisible(false); - NPC::isTalking = false; - if (event.getId() == "Buy") { Net::getNpcHandler()->buy(current_npc); diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp index 12ea61a6..52c60c74 100644 --- a/src/gui/npcdialog.cpp +++ b/src/gui/npcdialog.cpp @@ -165,7 +165,6 @@ void NpcDialog::action(const gcn::ActionEvent &event) closeDialog(); setVisible(false); current_npc = 0; - NPC::isTalking = false; } else if (mActionState == NPC_ACTION_INPUT) { -- cgit v1.2.3-70-g09d2