summaryrefslogtreecommitdiff
path: root/src/being/compoundsprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/compoundsprite.h')
-rw-r--r--src/being/compoundsprite.h2
1 files changed, 2 insertions, 0 deletions
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;