diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-18 00:26:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-18 00:26:00 +0300 |
commit | b73e51c8993c6e2eef7a28a79ea79b7a6d61783d (patch) | |
tree | ba37e85ee798f606e68a4b084d8c8e7025d7d9af /src/statuseffect.cpp | |
parent | bad30239e412c4e31aa8929039eaebc615d220ec (diff) | |
download | manaverse-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.tar.gz manaverse-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.tar.bz2 manaverse-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.tar.xz manaverse-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.zip |
Remove default parameters from animatedsprites.
Diffstat (limited to 'src/statuseffect.cpp')
-rw-r--r-- | src/statuseffect.cpp | 5 |
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 |