diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-02-24 20:01:31 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-02-24 20:03:20 -0700 |
commit | 9759b0bd0a4777c5645c695c119b4716e251add1 (patch) | |
tree | 1ab1e5f6409053041d34487d93a29a6115084db4 /src | |
parent | f4704ccd2a71ca222d8584aac42c80d346a0b688 (diff) | |
download | mana-9759b0bd0a4777c5645c695c119b4716e251add1.tar.gz mana-9759b0bd0a4777c5645c695c119b4716e251add1.tar.bz2 mana-9759b0bd0a4777c5645c695c119b4716e251add1.tar.xz mana-9759b0bd0a4777c5645c695c119b4716e251add1.zip |
Send a next dialog packet when ending interaction
Server seems to want it in some cases
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/npc_text.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/npc_text.cpp b/src/gui/npc_text.cpp index f4754ef7..1750cbd4 100644 --- a/src/gui/npc_text.cpp +++ b/src/gui/npc_text.cpp @@ -102,6 +102,7 @@ void NpcTextDialog::action(const gcn::ActionEvent &event) } else if (mState == NPC_TEXT_STATE_CLOSE || (mState == NPC_TEXT_STATE_NEXT && !current_npc)) { setText(""); + if (current_npc) current_npc->nextDialog(); setVisible(false); if (current_npc) current_npc->handleDeath(); } else return; |