summaryrefslogtreecommitdiff
path: root/src/gui/windows/questswindow.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/gui/windows/questswindow.cpp
parent3a97fc3fd6f316882af762017443c410632d65eb (diff)
downloadmv-52fdc7544c117b058fb1321a24795d64fe3d3887.tar.gz
mv-52fdc7544c117b058fb1321a24795d64fe3d3887.tar.bz2
mv-52fdc7544c117b058fb1321a24795d64fe3d3887.tar.xz
mv-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/gui/windows/questswindow.cpp')
-rw-r--r--src/gui/windows/questswindow.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp
index fd6678e55..308d38da5 100644
--- a/src/gui/windows/questswindow.cpp
+++ b/src/gui/windows/questswindow.cpp
@@ -336,9 +336,13 @@ void QuestsWindow::action(const ActionEvent &event)
}
}
-void QuestsWindow::updateQuest(const int var, const int val)
+void QuestsWindow::updateQuest(const int var,
+ const int val1,
+ const int val2 A_UNUSED,
+ const int val3 A_UNUSED,
+ const int time A_UNUSED)
{
- mVars[var] = val;
+ mVars[var] = val1;
}
void QuestsWindow::rebuild(const bool playSound)