summaryrefslogtreecommitdiff
path: root/src/net/eathena/npchandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-15 00:30:36 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-15 00:30:36 +0300
commitd08bd96a8358ad9e399e9f7770d5265c81ff0b4e (patch)
tree221d3fb3d5fbcc956f100824643c0974dd0b06cb /src/net/eathena/npchandler.cpp
parent17a6ccbd6a52fd4dbf85a8f9ea0e20fc215a41a2 (diff)
downloadmanaplus-d08bd96a8358ad9e399e9f7770d5265c81ff0b4e.tar.gz
manaplus-d08bd96a8358ad9e399e9f7770d5265c81ff0b4e.tar.bz2
manaplus-d08bd96a8358ad9e399e9f7770d5265c81ff0b4e.tar.xz
manaplus-d08bd96a8358ad9e399e9f7770d5265c81ff0b4e.zip
eathena: add packet SMSG_NPC_COMMAND 0x0B00.
Diffstat (limited to 'src/net/eathena/npchandler.cpp')
-rw-r--r--src/net/eathena/npchandler.cpp5
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;
}