summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/actorsprite.cpp2
-rw-r--r--src/being/compoundsprite.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/src/being/actorsprite.cpp b/src/being/actorsprite.cpp
index b9ab7a8d9..eab902537 100644
--- a/src/being/actorsprite.cpp
+++ b/src/being/actorsprite.cpp
@@ -294,7 +294,7 @@ void ActorSprite::setupSpriteDisplay(const SpriteDisplay &display,
}
// Ensure that something is shown, if desired
- if (empty() && forceDisplay == ForceDisplay_true)
+ if (mSprites.empty() && forceDisplay == ForceDisplay_true)
{
if (display.image.empty())
{
diff --git a/src/being/compoundsprite.h b/src/being/compoundsprite.h
index 53a2f189c..4f168b9fd 100644
--- a/src/being/compoundsprite.h
+++ b/src/being/compoundsprite.h
@@ -75,9 +75,6 @@ class CompoundSprite notfinal : public Sprite
unsigned int getFrameCount() const override final A_WARN_UNUSED;
- bool empty() const A_WARN_UNUSED
- { return mSprites.empty(); }
-
void addSprite(Sprite *const sprite);
void setSprite(const size_t layer, Sprite *const sprite);