summaryrefslogtreecommitdiff
path: root/src/being/compoundsprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-30 19:53:23 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-30 19:53:23 +0300
commitd42aa0fad2f04b4e021b20b313ba6c9fb0d4e9d5 (patch)
treeae9e96faf2ae25a47b0f0f207b55d201729e3e41 /src/being/compoundsprite.cpp
parent237449794444d60ecc4a669d78becac5372da723 (diff)
downloadmanaverse-d42aa0fad2f04b4e021b20b313ba6c9fb0d4e9d5.tar.gz
manaverse-d42aa0fad2f04b4e021b20b313ba6c9fb0d4e9d5.tar.bz2
manaverse-d42aa0fad2f04b4e021b20b313ba6c9fb0d4e9d5.tar.xz
manaverse-d42aa0fad2f04b4e021b20b313ba6c9fb0d4e9d5.zip
Fix code style in being.
Diffstat (limited to 'src/being/compoundsprite.cpp')
-rw-r--r--src/being/compoundsprite.cpp4
1 files changed, 3 insertions, 1 deletions
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() :