diff options
Diffstat (limited to 'src/net/eathena/npchandler.cpp')
-rw-r--r-- | src/net/eathena/npchandler.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp index 503dc642e..1dd6f1906 100644 --- a/src/net/eathena/npchandler.cpp +++ b/src/net/eathena/npchandler.cpp @@ -54,6 +54,7 @@ NpcHandler::NpcHandler() : SMSG_NPC_VIEWPOINT, SMSG_NPC_SHOW_PROGRESS_BAR, SMSG_NPC_CLOSE_TIMEOUT, + SMSG_NPC_COMMAND, 0 }; handledMessages = _messages; @@ -104,6 +105,10 @@ void NpcHandler::handleMessage(Net::MessageIn &msg) processNpcCloseTimeout(msg); break; + case SMSG_NPC_COMMAND: + processNpcCommand(msg); + break; + default: break; } |