summaryrefslogtreecommitdiff
path: root/src/net/eathena/questrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-03 01:52:04 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-03 01:52:04 +0300
commit594bec3c5e79a970bb9e24000321c035607fc4ed (patch)
treeaa790f01ae0dcb46027df0e250da73de0278718b /src/net/eathena/questrecv.cpp
parent6490c4cffbf326ad8044c149d7ce100c94c02b8d (diff)
downloadmanaverse-594bec3c5e79a970bb9e24000321c035607fc4ed.tar.gz
manaverse-594bec3c5e79a970bb9e24000321c035607fc4ed.tar.bz2
manaverse-594bec3c5e79a970bb9e24000321c035607fc4ed.tar.xz
manaverse-594bec3c5e79a970bb9e24000321c035607fc4ed.zip
Add packet SMSG_QUEST_LIST 0x0aff.
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 b05d85c64..b77915e3a 100644
--- a/src/net/eathena/questrecv.cpp
+++ b/src/net/eathena/questrecv.cpp
@@ -108,7 +108,13 @@ void QuestRecv::processAddQuests(Net::MessageIn &msg)
const int cnt = msg.readInt16("objectives count");
for (int d = 0; d < cnt; d ++)
{
- 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");