summaryrefslogtreecommitdiff
path: root/src/statuseffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/statuseffect.cpp')
-rw-r--r--src/statuseffect.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/statuseffect.cpp b/src/statuseffect.cpp
index 5892a95e5..2b48636ca 100644
--- a/src/statuseffect.cpp
+++ b/src/statuseffect.cpp
@@ -94,8 +94,9 @@ AnimatedSprite *StatusEffect::getIcon() const
{
return nullptr;
}
- return AnimatedSprite::load(pathJoin(paths.getStringValue("sprites"),
- mIcon));
+ return AnimatedSprite::load(
+ pathJoin(paths.getStringValue("sprites"), mIcon),
+ 0);
}
std::string StatusEffect::getAction() const