diff options
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/compoundsprite.cpp | 2 | ||||
-rw-r--r-- | src/being/compoundsprite.h | 2 | ||||
-rw-r--r-- | src/being/localplayer.cpp | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/src/being/compoundsprite.cpp b/src/being/compoundsprite.cpp index 3d01273bd..5b37738b2 100644 --- a/src/being/compoundsprite.cpp +++ b/src/being/compoundsprite.cpp @@ -67,7 +67,9 @@ CompoundSprite::CompoundSprite() : mOffsetX(0), mOffsetY(0), mSprites(), +#ifndef USE_SDL2 mNextRedrawTime(0), +#endif mNeedsRedraw(false), mEnableAlphaFix(config.getBoolValue("enableAlphaFix")), mDisableAdvBeingCaching(config.getBoolValue("disableAdvBeingCaching")), diff --git a/src/being/compoundsprite.h b/src/being/compoundsprite.h index 4a82855cf..4a7ed6fb0 100644 --- a/src/being/compoundsprite.h +++ b/src/being/compoundsprite.h @@ -138,7 +138,9 @@ class CompoundSprite notfinal : public Sprite mutable int mOffsetX; mutable int mOffsetY; std::vector<Sprite*> mSprites; +#ifndef USE_SDL2 mutable int mNextRedrawTime; +#endif static bool mEnableDelay; mutable bool mNeedsRedraw; bool mEnableAlphaFix; diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 1526afd9d..9944a6eb4 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -2686,4 +2686,3 @@ void LocalPlayer::playerDeath() recalcSpritesOrder(); } } - |