summaryrefslogtreecommitdiff
path: root/src/compoundsprite.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2011-05-30 11:13:31 -0600
committerJared Adams <jaxad0127@gmail.com>2011-05-30 12:35:08 -0600
commit0248b2f58c783f21b7e68a20deadc0a3f942c869 (patch)
treefb9487625c282f59325f0585f08e2efd0683cd39 /src/compoundsprite.h
parentb69c0511206d68a61fd08042d1c122c9fac22202 (diff)
downloadmana-0248b2f58c783f21b7e68a20deadc0a3f942c869.tar.gz
mana-0248b2f58c783f21b7e68a20deadc0a3f942c869.tar.bz2
mana-0248b2f58c783f21b7e68a20deadc0a3f942c869.tar.xz
mana-0248b2f58c783f21b7e68a20deadc0a3f942c869.zip
Remove some uneeded offsetting
Also fix position of being names. Reviewed-by: Bertram
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;