summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/packetsin.inc1
-rw-r--r--src/net/eathena/questrecv.cpp5
2 files changed, 5 insertions, 1 deletions
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index 227893d74..f927c52ed 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -927,6 +927,7 @@ if (packetVersion >= 20150513)
packet(SMSG_HOMUNCULUS_INFO, 0x09f7, 75, &HomunculusRecv::processHomunculusInfo, 20150513);
packet(SMSG_QUEST_LIST, 0x09f8, -1, &QuestRecv::processAddQuests, 20150513);
packet(SMSG_QUEST_ADD, 0x09f9, 143, &QuestRecv::processAddQuest, 20150513);
+ packet(SMSG_QUEST_UPDATE_OBJECTIVES, 0x09fa, -1, &QuestRecv::processUpdateQuestsObjectives, 20150513);
}
// 20150805
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");
}