summaryrefslogtreecommitdiff
path: root/src/resources
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
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/resources')
-rw-r--r--src/resources/db/emotedb.cpp3
-rw-r--r--src/resources/sprite/animatedsprite.h5
2 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/db/emotedb.cpp b/src/resources/db/emotedb.cpp
index e519b531d..c9eb8a513 100644
--- a/src/resources/db/emotedb.cpp
+++ b/src/resources/db/emotedb.cpp
@@ -54,7 +54,8 @@ void EmoteDB::load()
EmoteSprite *const unknownSprite = new EmoteSprite;
unknownSprite->sprite = AnimatedSprite::load(pathJoin(paths.getStringValue(
"sprites"), paths.getStringValue(
- "spriteErrorFile")));
+ "spriteErrorFile")),
+ 0);
unknownSprite->name = "unknown";
unknownSprite->id = 0;
mUnknown.sprites.push_back(unknownSprite);
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);