summaryrefslogtreecommitdiff
path: root/src/net/eathena/questrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-03 02:09:11 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-03 02:09:11 +0300
commitacc5e06a62dd6a368b06829e0ad2a2d2607af341 (patch)
tree4a2f94b327d3b6db007f2341b094ffde8601a789 /src/net/eathena/questrecv.cpp
parentaeb24c79e3b69fafaa082ee586902b87f82a02f1 (diff)
downloadmanaverse-acc5e06a62dd6a368b06829e0ad2a2d2607af341.tar.gz
manaverse-acc5e06a62dd6a368b06829e0ad2a2d2607af341.tar.bz2
manaverse-acc5e06a62dd6a368b06829e0ad2a2d2607af341.tar.xz
manaverse-acc5e06a62dd6a368b06829e0ad2a2d2607af341.zip
Add packet SMSG_QUEST_UPDATE_OBJECTIVES 0x0afe
Diffstat (limited to 'src/net/eathena/questrecv.cpp')
-rw-r--r--src/net/eathena/questrecv.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/net/eathena/questrecv.cpp b/src/net/eathena/questrecv.cpp
index db8a1f39d..a7d295038 100644
--- a/src/net/eathena/questrecv.cpp
+++ b/src/net/eathena/questrecv.cpp
@@ -197,10 +197,19 @@ void QuestRecv::processUpdateQuestsObjectives(Net::MessageIn &msg)
for (int f = 0; f < num; f ++)
{
msg.readInt32("quest id");
- if (msg.getVersion() >= 20150513)
+ if (msg.getVersion() >= 20181010)
+ {
msg.readInt32("hunt ident");
+ msg.readInt32("hunt ident2");
+ }
+ else if (msg.getVersion() >= 20150513)
+ {
+ msg.readInt32("hunt ident");
+ }
else
+ {
msg.readInt32("monster id");
+ }
msg.readInt16("count old");
msg.readInt16("count new");
}