summaryrefslogtreecommitdiff
path: root/src/being/actorsprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/actorsprite.cpp')
-rw-r--r--src/being/actorsprite.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/being/actorsprite.cpp b/src/being/actorsprite.cpp
index d5527f161..f0dfc07ec 100644
--- a/src/being/actorsprite.cpp
+++ b/src/being/actorsprite.cpp
@@ -386,11 +386,9 @@ void ActorSprite::handleStatusEffect(const StatusEffect *const effect,
{
Particle *particle = nullptr;
if (start == IsStart_true)
- {
particle = effect->getStartParticle();
- }
- // +++ here also need enable permanent status effects,
- // need new field in StatusEffect
+ if (!particle)
+ particle = effect->getParticle();
if (particle)
mStatusParticleEffects.setLocally(effectId, particle);
}