summaryrefslogtreecommitdiff
path: root/src/compoundsprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compoundsprite.cpp')
-rw-r--r--src/compoundsprite.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp
index 9d5e057b2..a191afc59 100644
--- a/src/compoundsprite.cpp
+++ b/src/compoundsprite.cpp
@@ -49,6 +49,7 @@ static const unsigned cache_clean_part = 3;
bool CompoundSprite::mEnableDelay = true;
CompoundSprite::CompoundSprite() :
+ imagesCache(),
mCacheItem(nullptr),
mImage(nullptr),
mAlphaImage(nullptr),
@@ -58,6 +59,7 @@ CompoundSprite::CompoundSprite() :
mEnableAlphaFix(config.getBoolValue("enableAlphaFix")),
mDisableAdvBeingCaching(config.getBoolValue("disableAdvBeingCaching")),
mDisableBeingCaching(config.getBoolValue("disableBeingCaching")),
+ mSprites(),
mNextRedrawTime(0)
{
mAlpha = 1.0f;
@@ -538,7 +540,7 @@ bool CompoundSprite::updateNumber(unsigned num)
}
CompoundItem::CompoundItem() :
-// alpha(1.0f),
+ data(),
image(nullptr),
alphaImage(nullptr)
{