summaryrefslogtreecommitdiff
path: root/src/net/eathena/questrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-07 01:23:15 +0300
committerAndrei Karas <akaras@inbox.ru>2018-04-07 01:54:33 +0300
commitd483510d3c721e49c671a6510b23dc950332ba73 (patch)
treecf02a4cbc50011050415c8f65e99b74ffd4ae2d1 /src/net/eathena/questrecv.cpp
parent47777be518740ddac51b09b0c7cf9237d719c833 (diff)
downloadmv-d483510d3c721e49c671a6510b23dc950332ba73.tar.gz
mv-d483510d3c721e49c671a6510b23dc950332ba73.tar.bz2
mv-d483510d3c721e49c671a6510b23dc950332ba73.tar.xz
mv-d483510d3c721e49c671a6510b23dc950332ba73.zip
Add packet SMSG_QUEST_UPDATE_OBJECTIVES 0x09fa.
Diffstat (limited to 'src/net/eathena/questrecv.cpp')
-rw-r--r--src/net/eathena/questrecv.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/eathena/questrecv.cpp b/src/net/eathena/questrecv.cpp
index 896cd8ca0..f7ce0b312 100644
--- a/src/net/eathena/questrecv.cpp
+++ b/src/net/eathena/questrecv.cpp
@@ -185,7 +185,10 @@ void QuestRecv::processUpdateQuestsObjectives(Net::MessageIn &msg)
for (int f = 0; f < num; f ++)
{
msg.readInt32("quest id");
- msg.readInt32("monster id");
+ if (msg.getVersion() >= 20150513)
+ msg.readInt32("hunt ident");
+ else
+ msg.readInt32("monster id");
msg.readInt16("count old");
msg.readInt16("count new");
}