summaryrefslogtreecommitdiff
path: root/src/net/manaserv/npchandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-04-26 21:56:31 -0600
committerJared Adams <jaxad0127@gmail.com>2010-05-04 08:19:09 -0600
commit375ceb6c78f79e0144c2d63e0f9cda170288da8b (patch)
tree525f30b77566fdcdeb819a79269c375cccfc2cb9 /src/net/manaserv/npchandler.cpp
parent22a7ac0b9ed82d09460d791016a990b327b61fc4 (diff)
downloadmana-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/manaserv/npchandler.cpp')
-rw-r--r--src/net/manaserv/npchandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/manaserv/npchandler.cpp b/src/net/manaserv/npchandler.cpp
index 258c72c0..392ec4fd 100644
--- a/src/net/manaserv/npchandler.cpp
+++ b/src/net/manaserv/npchandler.cpp
@@ -225,4 +225,9 @@ void NpcHandler::endShopping(int beingId)
// TODO
}
+void NpcHandler::clearDialogs()
+{
+ mNpcDialogs.clear();
+}
+
} // namespace ManaServ