From 543166b9d50ebf06bfc83a32fb2bab3b366eb871 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Wed, 25 Feb 2009 10:29:34 -0700 Subject: Make sure that all dialogs are cleared on player death, not just the NPC text dialog. Signed-off-by: Ira Rice --- src/gui/npc_text.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/npc_text.cpp') diff --git a/src/gui/npc_text.cpp b/src/gui/npc_text.cpp index 0b7592c7..c28f1403 100644 --- a/src/gui/npc_text.cpp +++ b/src/gui/npc_text.cpp @@ -75,6 +75,7 @@ void NpcTextDialog::addText(const std::string &text) void NpcTextDialog::clearText() { + NPC::mTalking = false; setText(""); } -- cgit v1.2.3-60-g2f50