summaryrefslogtreecommitdiff
path: root/src/actorsprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-14 15:36:47 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-14 15:36:47 +0300
commit0abd36c63a6ffd16e998fe1552f822ca351ef2b2 (patch)
treeef2ee4fd8d9fb0383074ddace03eb76e47f0feb4 /src/actorsprite.cpp
parent2c73f0e2300c00ec2e1c26ecb7a6c7a500381f0f (diff)
downloadplus-0abd36c63a6ffd16e998fe1552f822ca351ef2b2.tar.gz
plus-0abd36c63a6ffd16e998fe1552f822ca351ef2b2.tar.bz2
plus-0abd36c63a6ffd16e998fe1552f822ca351ef2b2.tar.xz
plus-0abd36c63a6ffd16e998fe1552f822ca351ef2b2.zip
Replace some size() calls to empty().
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())
{