summaryrefslogtreecommitdiff
path: root/src/net/tmwa/questrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-26 02:41:35 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-26 02:41:35 +0300
commit52fdc7544c117b058fb1321a24795d64fe3d3887 (patch)
tree903955c78f5911e09c8cb9a7cf00c720de842f4d /src/net/tmwa/questrecv.cpp
parent3a97fc3fd6f316882af762017443c410632d65eb (diff)
downloadmanaplus-52fdc7544c117b058fb1321a24795d64fe3d3887.tar.gz
manaplus-52fdc7544c117b058fb1321a24795d64fe3d3887.tar.bz2
manaplus-52fdc7544c117b058fb1321a24795d64fe3d3887.tar.xz
manaplus-52fdc7544c117b058fb1321a24795d64fe3d3887.zip
Read all fields from new quest packets and send to quests and skills window.
But for now not using this fields.
Diffstat (limited to 'src/net/tmwa/questrecv.cpp')
-rw-r--r--src/net/tmwa/questrecv.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/tmwa/questrecv.cpp b/src/net/tmwa/questrecv.cpp
index b4e0f36b5..43d1b13c0 100644
--- a/src/net/tmwa/questrecv.cpp
+++ b/src/net/tmwa/questrecv.cpp
@@ -38,12 +38,12 @@ void QuestRecv::processSetQuestVar(Net::MessageIn &msg)
const int val = msg.readInt32("value");
if (questsWindow)
{
- questsWindow->updateQuest(var, val);
+ questsWindow->updateQuest(var, val, 0, 0, 0);
questsWindow->rebuild(true);
}
if (skillDialog)
{
- skillDialog->updateQuest(var, val);
+ skillDialog->updateQuest(var, val, 0, 0, 0);
skillDialog->playUpdateEffect(var + SKILL_VAR_MIN_ID);
}
}
@@ -56,9 +56,9 @@ void QuestRecv::processPlayerQuests(Net::MessageIn &msg)
const int var = msg.readInt16("variable");
const int val = msg.readInt32("value");
if (questsWindow)
- questsWindow->updateQuest(var, val);
+ questsWindow->updateQuest(var, val, 0, 0, 0);
if (skillDialog)
- skillDialog->updateQuest(var, val);
+ skillDialog->updateQuest(var, val, 0, 0, 0);
}
if (questsWindow)
questsWindow->rebuild(false);