diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-26 21:08:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-26 21:08:45 +0300 |
commit | a8acf366d3e943fb636e24b69c8c67152770d2cc (patch) | |
tree | 99d51b8b56489fd03f32cd291e8570834954ac90 /src/being | |
parent | e2b84bddbb089f43a9c2c3741545378614481a32 (diff) | |
download | manaplus-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.gz manaplus-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.bz2 manaplus-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.xz manaplus-a8acf366d3e943fb636e24b69c8c67152770d2cc.zip |
Fix code style.
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(); } } - |