diff options
Diffstat (limited to 'src/compoundsprite.cpp')
-rw-r--r-- | src/compoundsprite.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp index e1d5d6b76..f4890fe2b 100644 --- a/src/compoundsprite.cpp +++ b/src/compoundsprite.cpp @@ -52,12 +52,12 @@ CompoundSprite::CompoundSprite() : mAlphaImage(nullptr), mOffsetX(0), mOffsetY(0), - mNeedsRedraw(false) + mNeedsRedraw(false), + mEnableAlphaFix(config.getBoolValue("enableAlphaFix")), + mDisableAdvBeingCaching(config.getBoolValue("disableAdvBeingCaching")), + mDisableBeingCaching(config.getBoolValue("disableBeingCaching")) { mAlpha = 1.0f; - mEnableAlphaFix = config.getBoolValue("enableAlphaFix"); - mDisableAdvBeingCaching = config.getBoolValue("disableAdvBeingCaching"); - mDisableBeingCaching = config.getBoolValue("disableBeingCaching"); } CompoundSprite::~CompoundSprite() |