From a8acf366d3e943fb636e24b69c8c67152770d2cc Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Sat, 26 Dec 2015 21:08:45 +0300
Subject: Fix code style.

---
 src/being/compoundsprite.cpp | 2 ++
 src/being/compoundsprite.h   | 2 ++
 src/being/localplayer.cpp    | 1 -
 3 files changed, 4 insertions(+), 1 deletion(-)

(limited to 'src/being')

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();
     }
 }
-
-- 
cgit v1.2.3-70-g09d2