diff options
Diffstat (limited to 'src/statuseffect.cpp')
-rw-r--r-- | src/statuseffect.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/statuseffect.cpp b/src/statuseffect.cpp index e0a4e51a0..e5184bc05 100644 --- a/src/statuseffect.cpp +++ b/src/statuseffect.cpp @@ -76,14 +76,8 @@ AnimatedSprite *StatusEffect::getIcon() const } else { - AnimatedSprite *const sprite = AnimatedSprite::load( - paths.getStringValue("sprites") + mIcon); - if (false && sprite) - { - sprite->play(SpriteAction::DEFAULT); - sprite->reset(); - } - return sprite; + return AnimatedSprite::load(paths.getStringValue( + "sprites").append(mIcon)); } } |