diff options
Diffstat (limited to 'src/net/ea/npchandler.cpp')
-rw-r--r-- | src/net/ea/npchandler.cpp | 13 |
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) |