diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-04-26 21:56:31 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-05-04 08:19:09 -0600 |
commit | 375ceb6c78f79e0144c2d63e0f9cda170288da8b (patch) | |
tree | 525f30b77566fdcdeb819a79269c375cccfc2cb9 /src/net/tmwa/npchandler.cpp | |
parent | 22a7ac0b9ed82d09460d791016a990b327b61fc4 (diff) | |
download | mana-375ceb6c78f79e0144c2d63e0f9cda170288da8b.tar.gz mana-375ceb6c78f79e0144c2d63e0f9cda170288da8b.tar.bz2 mana-375ceb6c78f79e0144c2d63e0f9cda170288da8b.tar.xz mana-375ceb6c78f79e0144c2d63e0f9cda170288da8b.zip |
Clear NPC dialogs when the player dies
Reviewed-by: Freeyorp
Diffstat (limited to 'src/net/tmwa/npchandler.cpp')
-rw-r--r-- | src/net/tmwa/npchandler.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp index e6b16f2d..5888c679 100644 --- a/src/net/tmwa/npchandler.cpp +++ b/src/net/tmwa/npchandler.cpp @@ -223,4 +223,9 @@ void NpcHandler::endShopping(int beingId) // TODO } +void NpcHandler::clearDialogs() +{ + mNpcDialogs.clear(); +} + } // namespace TmwAthena |