summaryrefslogtreecommitdiff
path: root/src/gui/windows/questswindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-22 02:20:36 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-22 02:20:36 +0300
commitb54c0e944974669c4b5c1eb3f8018547c2179630 (patch)
treec0a08d7727f6aa0a1a9ed75f8ac14ec7a67f7a85 /src/gui/windows/questswindow.cpp
parent1ff17739796e327e30a78b544be9865420d4c807 (diff)
downloadplus-b54c0e944974669c4b5c1eb3f8018547c2179630.tar.gz
plus-b54c0e944974669c4b5c1eb3f8018547c2179630.tar.bz2
plus-b54c0e944974669c4b5c1eb3f8018547c2179630.tar.xz
plus-b54c0e944974669c4b5c1eb3f8018547c2179630.zip
Remove default parameters from effectmanager.
Diffstat (limited to 'src/gui/windows/questswindow.cpp')
-rw-r--r--src/gui/windows/questswindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp
index 80d853778..4e1b58c33 100644
--- a/src/gui/windows/questswindow.cpp
+++ b/src/gui/windows/questswindow.cpp
@@ -291,11 +291,12 @@ void QuestsWindow::rebuild(const bool playSound)
switch (newCompleteStatus)
{
case 0:
- effectManager->trigger(mNewQuestEffectId, localPlayer);
+ effectManager->trigger(mNewQuestEffectId, localPlayer, 0);
break;
case 1:
effectManager->trigger(mCompleteQuestEffectId,
- localPlayer);
+ localPlayer,
+ 0);
break;
default:
break;