diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-14 15:36:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-14 15:36:47 +0300 |
commit | 0abd36c63a6ffd16e998fe1552f822ca351ef2b2 (patch) | |
tree | ef2ee4fd8d9fb0383074ddace03eb76e47f0feb4 /src/actorsprite.cpp | |
parent | 2c73f0e2300c00ec2e1c26ecb7a6c7a500381f0f (diff) | |
download | manaplus-0abd36c63a6ffd16e998fe1552f822ca351ef2b2.tar.gz manaplus-0abd36c63a6ffd16e998fe1552f822ca351ef2b2.tar.bz2 manaplus-0abd36c63a6ffd16e998fe1552f822ca351ef2b2.tar.xz manaplus-0abd36c63a6ffd16e998fe1552f822ca351ef2b2.zip |
Replace some size() calls to empty().
Diffstat (limited to 'src/actorsprite.cpp')
-rw-r--r-- | src/actorsprite.cpp | 2 |
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()) { |