diff options
Diffstat (limited to 'src/statuseffect.cpp')
-rw-r--r-- | src/statuseffect.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/statuseffect.cpp b/src/statuseffect.cpp index 54465e96f..7e89ae0f2 100644 --- a/src/statuseffect.cpp +++ b/src/statuseffect.cpp @@ -38,7 +38,7 @@ StatusEffect::StatusEffect() : mMessage(), mSFXEffect(), - mParticleEffect(), + mStartParticleEffect(), mIcon(), mAction(), mName(), @@ -67,12 +67,12 @@ void StatusEffect::deliverMessage() const localChatTab->chatLog(mMessage, ChatMsgType::BY_SERVER); } -Particle *StatusEffect::getParticle() const +Particle *StatusEffect::getStartParticle() const { - if (!particleEngine || mParticleEffect.empty()) + if (!particleEngine || mStartParticleEffect.empty()) return nullptr; else - return particleEngine->addEffect(mParticleEffect, 0, 0); + return particleEngine->addEffect(mStartParticleEffect, 0, 0); } AnimatedSprite *StatusEffect::getIcon() const |