summaryrefslogtreecommitdiff
path: root/src/compoundsprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compoundsprite.h')
-rw-r--r--src/compoundsprite.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compoundsprite.h b/src/compoundsprite.h
index 5754c4e1..3a5e0129 100644
--- a/src/compoundsprite.h
+++ b/src/compoundsprite.h
@@ -96,6 +96,9 @@ public:
*/
virtual size_t getFrameCount(size_t layer);
+ void doRedraw()
+ { mNeedsRedraw = true; }
+
private:
typedef CompoundSprite::iterator SpriteIterator;
typedef CompoundSprite::const_iterator SpriteConstIterator;