summaryrefslogtreecommitdiff
path: root/src/resources/sprite
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/resources/sprite
parentbad30239e412c4e31aa8929039eaebc615d220ec (diff)
downloadmanaverse-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.tar.gz
manaverse-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.tar.bz2
manaverse-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.tar.xz
manaverse-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.zip
Remove default parameters from animatedsprites.
Diffstat (limited to 'src/resources/sprite')
-rw-r--r--src/resources/sprite/animatedsprite.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/resources/sprite/animatedsprite.h b/src/resources/sprite/animatedsprite.h
index 01a142f31..e45ffd34e 100644
--- a/src/resources/sprite/animatedsprite.h
+++ b/src/resources/sprite/animatedsprite.h
@@ -51,12 +51,11 @@ class AnimatedSprite final : public Sprite
* @param variant the sprite variant
*/
static AnimatedSprite *load(const std::string &restrict filename,
- const int variant = 0) A_WARN_UNUSED;
+ const int variant) A_WARN_UNUSED;
static AnimatedSprite *delayedLoad(const std::string &restrict
filename,
- const int variant = 0)
- A_WARN_UNUSED;
+ const int variant) A_WARN_UNUSED;
static AnimatedSprite *clone(const AnimatedSprite *restrict const
anim);