summaryrefslogtreecommitdiff
path: root/src/being/castingeffect.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/being/castingeffect.cpp
parentbad30239e412c4e31aa8929039eaebc615d220ec (diff)
downloadplus-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.tar.gz
plus-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.tar.bz2
plus-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.tar.xz
plus-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.zip
Remove default parameters from animatedsprites.
Diffstat (limited to 'src/being/castingeffect.cpp')
-rw-r--r--src/being/castingeffect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/castingeffect.cpp b/src/being/castingeffect.cpp
index 872743f82..cdd015470 100644
--- a/src/being/castingeffect.cpp
+++ b/src/being/castingeffect.cpp
@@ -43,7 +43,7 @@ CastingEffect::CastingEffect(const int skillId,
const int range) :
Actor(),
mSprite(animation.empty() ? nullptr :
- AnimatedSprite::load(paths.getStringValue("sprites") + animation)),
+ AnimatedSprite::load(paths.getStringValue("sprites") + animation, 0)),
mRectX((x - range) * mapTileSize),
mRectY((y - range) * mapTileSize),
mRectSize(range * mapTileSize * 2 + mapTileSize),