summaryrefslogtreecommitdiff
path: root/src/statuseffect.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-18 00:26:00 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-18 00:26:00 +0300
commitb73e51c8993c6e2eef7a28a79ea79b7a6d61783d (patch)
treeba37e85ee798f606e68a4b084d8c8e7025d7d9af /src/statuseffect.cpp
parentbad30239e412c4e31aa8929039eaebc615d220ec (diff)
downloadmanaplus-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.tar.gz
manaplus-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.tar.bz2
manaplus-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.tar.xz
manaplus-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.zip
Remove default parameters from animatedsprites.
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