diff options
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/db/emotedb.cpp | 3 | ||||
-rw-r--r-- | src/resources/sprite/animatedsprite.h | 5 |
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); |