diff options
Diffstat (limited to 'src/being/compoundsprite.cpp')
-rw-r--r-- | src/being/compoundsprite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/compoundsprite.cpp b/src/being/compoundsprite.cpp index 08376e748..df3cfcec0 100644 --- a/src/being/compoundsprite.cpp +++ b/src/being/compoundsprite.cpp @@ -261,7 +261,7 @@ void CompoundSprite::addSprite(Sprite *const sprite) mNeedsRedraw = true; } -void CompoundSprite::setSprite(const int layer, Sprite *const sprite) +void CompoundSprite::setSprite(const size_t layer, Sprite *const sprite) { // Skip if it won't change anything if (mSprites.at(layer) == sprite) |