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