diff options
Diffstat (limited to 'src/being/compoundsprite.cpp')
-rw-r--r-- | src/being/compoundsprite.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/being/compoundsprite.cpp b/src/being/compoundsprite.cpp index c0b81e715..a32b7db1b 100644 --- a/src/being/compoundsprite.cpp +++ b/src/being/compoundsprite.cpp @@ -244,8 +244,7 @@ int CompoundSprite::getNumberOfLayers() const { if ((mImage != nullptr) || (mAlphaImage != nullptr)) return 1; - else - return CAST_S32(mSprites.size()); + return CAST_S32(mSprites.size()); } unsigned int CompoundSprite::getCurrentFrame() const |