summaryrefslogtreecommitdiff
path: root/src/actorsprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actorsprite.cpp')
-rw-r--r--src/actorsprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actorsprite.cpp b/src/actorsprite.cpp
index e90536b2d..6155bb7af 100644
--- a/src/actorsprite.cpp
+++ b/src/actorsprite.cpp
@@ -331,7 +331,7 @@ void ActorSprite::setupSpriteDisplay(const SpriteDisplay &display,
}
// Ensure that something is shown, if desired
- if (size() == 0 && forceDisplay)
+ if (empty() && forceDisplay)
{
if (display.image.empty())
{