diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-10 22:19:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-10 22:22:53 +0300 |
commit | 4aa184df5a208c51cb0141ae6a609c60294d8323 (patch) | |
tree | 35d8be02657f234ac2803c2cd3f4c30780e237ac /src/statuseffect.cpp | |
parent | f9a7f96525c7485de4cf27f973f0b52f5d74f048 (diff) | |
download | mv-4aa184df5a208c51cb0141ae6a609c60294d8323.tar.gz mv-4aa184df5a208c51cb0141ae6a609c60294d8323.tar.bz2 mv-4aa184df5a208c51cb0141ae6a609c60294d8323.tar.xz mv-4aa184df5a208c51cb0141ae6a609c60294d8323.zip |
Rename StatusEffect::getParticle into StatusEffect::getStartParticle
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 |