summaryrefslogtreecommitdiff
path: root/src/compoundsprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compoundsprite.h')
-rw-r--r--src/compoundsprite.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compoundsprite.h b/src/compoundsprite.h
index aa90816c5..0490be8d8 100644
--- a/src/compoundsprite.h
+++ b/src/compoundsprite.h
@@ -121,6 +121,9 @@ public:
bool updateNumber(unsigned num);
+ static void setEnableDelay(bool b)
+ { mEnableDelay = b; }
+
private:
void redraw() const;
@@ -146,6 +149,7 @@ private:
bool mDisableBeingCaching;
std::vector<Sprite*> mSprites;
mutable int mNextRedrawTime;
+ static bool mEnableDelay;
};
#endif // COMPOUNDSPRITE_H