summaryrefslogtreecommitdiff
path: root/src/net/eathena/questrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-03 01:59:46 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-03 01:59:46 +0300
commitaeb24c79e3b69fafaa082ee586902b87f82a02f1 (patch)
tree5abbc260619401913ce90ba4c092e2ed8aeb7f16 /src/net/eathena/questrecv.cpp
parent594bec3c5e79a970bb9e24000321c035607fc4ed (diff)
downloadmanaplus-aeb24c79e3b69fafaa082ee586902b87f82a02f1.tar.gz
manaplus-aeb24c79e3b69fafaa082ee586902b87f82a02f1.tar.bz2
manaplus-aeb24c79e3b69fafaa082ee586902b87f82a02f1.tar.xz
manaplus-aeb24c79e3b69fafaa082ee586902b87f82a02f1.zip
Add packet SMSG_QUEST_ADD 0x0b0c
Diffstat (limited to 'src/net/eathena/questrecv.cpp')
-rw-r--r--src/net/eathena/questrecv.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/net/eathena/questrecv.cpp b/src/net/eathena/questrecv.cpp
index b77915e3a..db8a1f39d 100644
--- a/src/net/eathena/questrecv.cpp
+++ b/src/net/eathena/questrecv.cpp
@@ -42,7 +42,13 @@ void QuestRecv::processAddQuest(Net::MessageIn &msg)
for (int f = 0; f < num; f ++)
{
// need use in quests kills list
- if (msg.getVersion() >= 20150513)
+ if (msg.getVersion() >= 20181010)
+ {
+ msg.readInt32("hunt ident");
+ msg.readInt32("hunt ident2");
+ msg.readInt32("mob type");
+ }
+ else if (msg.getVersion() >= 20150513)
{
msg.readInt32("hunt ident");
msg.readInt32("mob type");