diff options
Diffstat (limited to 'src/being/compoundsprite.cpp')
-rw-r--r-- | src/being/compoundsprite.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being/compoundsprite.cpp b/src/being/compoundsprite.cpp index 843c3b6b6..ebb4466b3 100644 --- a/src/being/compoundsprite.cpp +++ b/src/being/compoundsprite.cpp @@ -290,7 +290,7 @@ void CompoundSprite::removeSprite(const int layer) if (mSprites[layer] == nullptr) return; - delete2(mSprites[layer]); + delete2(mSprites[layer]) mNeedsRedraw = true; } @@ -305,7 +305,7 @@ void CompoundSprite::clear() mNeedsRedraw = true; delete_all(imagesCache); imagesCache.clear(); - delete2(mCacheItem); + delete2(mCacheItem) mLastTime = 0; } @@ -368,7 +368,7 @@ void CompoundSprite::redraw() const drawSpritesSDL(graphics, posX, posY); - delete2(graphics); + delete2(graphics) SDL_SetAlpha(surface, 0, SDL_ALPHA_OPAQUE); |