From d42aa0fad2f04b4e021b20b313ba6c9fb0d4e9d5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 30 Apr 2014 19:53:23 +0300 Subject: Fix code style in being. --- src/being/compoundsprite.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/being/compoundsprite.cpp') diff --git a/src/being/compoundsprite.cpp b/src/being/compoundsprite.cpp index 6c159821d..26a2268f3 100644 --- a/src/being/compoundsprite.cpp +++ b/src/being/compoundsprite.cpp @@ -45,11 +45,13 @@ #include "debug.h" +#ifndef USE_SDL2 static const int BUFFER_WIDTH = 100; static const int BUFFER_HEIGHT = 100; - static const unsigned cache_max_size = 10; static const unsigned cache_clean_part = 3; +#endif + bool CompoundSprite::mEnableDelay = true; CompoundSprite::CompoundSprite() : -- cgit v1.2.3-60-g2f50