summaryrefslogtreecommitdiff
path: root/src/net/tmwa/npchandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-07 19:26:12 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-07 19:26:12 +0300
commit6e2a02c73e54648c7eefe2cb8cfc99a285fed868 (patch)
tree6f5a47590d861bbbb8065a203de054b1f9503303 /src/net/tmwa/npchandler.cpp
parente06101a4c8633a43d813d4a62bde2d9f49c128bf (diff)
downloadmv-6e2a02c73e54648c7eefe2cb8cfc99a285fed868.tar.gz
mv-6e2a02c73e54648c7eefe2cb8cfc99a285fed868.tar.bz2
mv-6e2a02c73e54648c7eefe2cb8cfc99a285fed868.tar.xz
mv-6e2a02c73e54648c7eefe2cb8cfc99a285fed868.zip
Split protocol.h into protocolin.h and protocolout.h
Diffstat (limited to 'src/net/tmwa/npchandler.cpp')
-rw-r--r--src/net/tmwa/npchandler.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp
index b2e121cef..351cb2d7a 100644
--- a/src/net/tmwa/npchandler.cpp
+++ b/src/net/tmwa/npchandler.cpp
@@ -31,7 +31,8 @@
#include "net/messagein.h"
#include "net/tmwa/messageout.h"
-#include "net/tmwa/protocol.h"
+#include "net/tmwa/protocolin.h"
+#include "net/tmwa/protocolout.h"
#include "net/ea/eaprotocol.h"
#include "net/ea/npcrecv.h"
@@ -181,6 +182,7 @@ void NpcHandler::selectAutoSpell(const int skillId A_UNUSED) const
BeingId NpcHandler::getNpc(Net::MessageIn &msg)
{
+ // +++ must be removed packet id checks from here
if (msg.getId() == SMSG_NPC_CHOICE
|| msg.getId() == SMSG_NPC_MESSAGE
|| msg.getId() == SMSG_NPC_CHANGETITLE)
@@ -195,6 +197,7 @@ BeingId NpcHandler::getNpc(Net::MessageIn &msg)
if (diag == NpcDialog::mNpcDialogs.end())
{
+ // +++ must be removed packet id checks from here
// Empty dialogs don't help
if (msg.getId() == SMSG_NPC_CLOSE)
{