summaryrefslogtreecommitdiff
path: root/src/effectmanager.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/effectmanager.cpp
parent1ff17739796e327e30a78b544be9865420d4c807 (diff)
downloadmanaplus-b54c0e944974669c4b5c1eb3f8018547c2179630.tar.gz
manaplus-b54c0e944974669c4b5c1eb3f8018547c2179630.tar.bz2
manaplus-b54c0e944974669c4b5c1eb3f8018547c2179630.tar.xz
manaplus-b54c0e944974669c4b5c1eb3f8018547c2179630.zip
Remove default parameters from effectmanager.
Diffstat (limited to 'src/effectmanager.cpp')
-rw-r--r--src/effectmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effectmanager.cpp b/src/effectmanager.cpp
index 3f87bfece..956db6009 100644
--- a/src/effectmanager.cpp
+++ b/src/effectmanager.cpp
@@ -219,7 +219,7 @@ void EffectManager::triggerDefault(int effectId,
effectId = defaultEffectId;
if (effectId == -1)
return;
- trigger(effectId, being);
+ trigger(effectId, being, 0);
}
void EffectManager::triggerDefault(int effectId,
@@ -232,7 +232,7 @@ void EffectManager::triggerDefault(int effectId,
effectId = defaultEffectId;
if (effectId == -1)
return;
- trigger(effectId, x, y, endTime);
+ trigger(effectId, x, y, endTime, 0);
}
void EffectManager::logic()