summaryrefslogtreecommitdiff
path: root/src/net/eathena/questrecv.cpp
diff options
context:
space:
mode:
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");
}