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.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/net/eathena/questrecv.cpp b/src/net/eathena/questrecv.cpp
index b28f6c21a..206ed7798 100644
--- a/src/net/eathena/questrecv.cpp
+++ b/src/net/eathena/questrecv.cpp
@@ -69,9 +69,12 @@ void QuestRecv::processAddQuests(Net::MessageIn &msg)
{
const int var = msg.readInt32("quest id");
const int val = msg.readUInt8("state");
- msg.readInt32("time diff");
- msg.readInt32("time");
- msg.readInt16("objectives count");
+ if (msg.getVersion() >= 20141022)
+ {
+ msg.readInt32("time diff");
+ msg.readInt32("time");
+ msg.readInt16("objectives count");
+ }
if (questsWindow)
questsWindow->updateQuest(var, val);
if (skillDialog)