summaryrefslogtreecommitdiff
path: root/src/being/actorsprite.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/actorsprite.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/actorsprite.cpp')
-rw-r--r--src/being/actorsprite.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/being/actorsprite.cpp b/src/being/actorsprite.cpp
index 6594c7e3c..c854c998f 100644
--- a/src/being/actorsprite.cpp
+++ b/src/being/actorsprite.cpp
@@ -452,7 +452,8 @@ void ActorSprite::setupSpriteDisplay(const SpriteDisplay &display,
{
addSprite(AnimatedSprite::delayedLoad(pathJoin(
paths.getStringValue("sprites"),
- paths.getStringValue("spriteErrorFile"))));
+ paths.getStringValue("spriteErrorFile")),
+ 0));
}
else
{
@@ -566,7 +567,8 @@ void ActorSprite::initTargetCursor()
Theme::resolveThemePath(strprintf(
targetCursorFile.c_str(),
cursorType(static_cast<TargetCursorTypeT>(type)),
- cursorSize(static_cast<TargetCursorSizeT>(size)))));
+ cursorSize(static_cast<TargetCursorSizeT>(size)))),
+ 0);
}
end_foreach
}