diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-04-07 01:23:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-04-07 01:54:33 +0300 |
commit | d483510d3c721e49c671a6510b23dc950332ba73 (patch) | |
tree | cf02a4cbc50011050415c8f65e99b74ffd4ae2d1 /src/net/eathena/questrecv.cpp | |
parent | 47777be518740ddac51b09b0c7cf9237d719c833 (diff) | |
download | manaplus-d483510d3c721e49c671a6510b23dc950332ba73.tar.gz manaplus-d483510d3c721e49c671a6510b23dc950332ba73.tar.bz2 manaplus-d483510d3c721e49c671a6510b23dc950332ba73.tar.xz manaplus-d483510d3c721e49c671a6510b23dc950332ba73.zip |
Add packet SMSG_QUEST_UPDATE_OBJECTIVES 0x09fa.
Diffstat (limited to 'src/net/eathena/questrecv.cpp')
-rw-r--r-- | src/net/eathena/questrecv.cpp | 5 |
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"); } |