summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-10 22:03:10 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-10 22:03:10 +0300
commitf9a7f96525c7485de4cf27f973f0b52f5d74f048 (patch)
treebe1ed401dffb832f9d923760ac89ad415cfc4d7f /src/being/localplayer.cpp
parent314147c53d571345436d2def199213fa71f22c9d (diff)
downloadmv-f9a7f96525c7485de4cf27f973f0b52f5d74f048.tar.gz
mv-f9a7f96525c7485de4cf27f973f0b52f5d74f048.tar.bz2
mv-f9a7f96525c7485de4cf27f973f0b52f5d74f048.tar.xz
mv-f9a7f96525c7485de4cf27f973f0b52f5d74f048.zip
Add support for initial particle effect for effect from status-effects.xml
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index dd2b52838..97845ae31 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -998,9 +998,12 @@ void LocalPlayer::setGotoTarget(Being *const target)
}
void LocalPlayer::handleStatusEffect(const StatusEffect *const effect,
- const int32_t effectId)
+ const int32_t effectId,
+ const IsStart start)
{
- Being::handleStatusEffect(effect, effectId);
+ Being::handleStatusEffect(effect,
+ effectId,
+ start);
if (effect)
{