From b73e51c8993c6e2eef7a28a79ea79b7a6d61783d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Dec 2017 00:26:00 +0300 Subject: Remove default parameters from animatedsprites. --- src/being/castingeffect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being/castingeffect.cpp') 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), -- cgit v1.2.3-70-g09d2