summaryrefslogtreecommitdiff
path: root/src/statuseffect.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-10 22:19:49 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-10 22:22:53 +0300
commit4aa184df5a208c51cb0141ae6a609c60294d8323 (patch)
tree35d8be02657f234ac2803c2cd3f4c30780e237ac /src/statuseffect.cpp
parentf9a7f96525c7485de4cf27f973f0b52f5d74f048 (diff)
downloadplus-4aa184df5a208c51cb0141ae6a609c60294d8323.tar.gz
plus-4aa184df5a208c51cb0141ae6a609c60294d8323.tar.bz2
plus-4aa184df5a208c51cb0141ae6a609c60294d8323.tar.xz
plus-4aa184df5a208c51cb0141ae6a609c60294d8323.zip
Rename StatusEffect::getParticle into StatusEffect::getStartParticle
Diffstat (limited to 'src/statuseffect.cpp')
-rw-r--r--src/statuseffect.cpp8
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