summaryrefslogtreecommitdiff
path: root/src/net/ea/npchandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-13 00:43:25 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-13 00:43:25 +0300
commit9233c3936657f6dc4ca9c73d84ea8c045b3fc09d (patch)
treea7def2f0e6c8fcdaefd6f0f330da7e7eb6c9c0b0 /src/net/ea/npchandler.cpp
parentd3af59b8eedae98a49367e2ac37f2ab1b79c0557 (diff)
downloadmanaplus-9233c3936657f6dc4ca9c73d84ea8c045b3fc09d.tar.gz
manaplus-9233c3936657f6dc4ca9c73d84ea8c045b3fc09d.tar.bz2
manaplus-9233c3936657f6dc4ca9c73d84ea8c045b3fc09d.tar.xz
manaplus-9233c3936657f6dc4ca9c73d84ea8c045b3fc09d.zip
move npc dialogs array from netcode.
Diffstat (limited to 'src/net/ea/npchandler.cpp')
-rw-r--r--src/net/ea/npchandler.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/net/ea/npchandler.cpp b/src/net/ea/npchandler.cpp
index 78a46f630..654a783b3 100644
--- a/src/net/ea/npchandler.cpp
+++ b/src/net/ea/npchandler.cpp
@@ -30,7 +30,6 @@ namespace Ea
{
NpcHandler::NpcHandler() :
- mNpcDialogs(),
mDialog(nullptr)
{
}
@@ -49,18 +48,6 @@ void NpcHandler::endShopping(const int beingId A_UNUSED) const
{
}
-void NpcHandler::clearDialogs()
-{
- NpcDialogs::iterator it = mNpcDialogs.begin();
- const NpcDialogs::iterator it_end = mNpcDialogs.end();
- while (it != it_end)
- {
- delete (*it).second;
- ++ it;
- }
- mNpcDialogs.clear();
-}
-
void NpcHandler::processNpcChoice(Net::MessageIn &msg)
{
if (mDialog)