From aac238cec9cab9efe7319d8397b95e7a77bdb5cd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 Aug 2011 21:05:48 +0300 Subject: Fix perfomance issue with caching complex sprites. --- src/animatedsprite.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/animatedsprite.h') diff --git a/src/animatedsprite.h b/src/animatedsprite.h index e10e0f338..2a2cfb8d8 100644 --- a/src/animatedsprite.h +++ b/src/animatedsprite.h @@ -82,6 +82,8 @@ class AnimatedSprite : public Sprite virtual void setAlpha(float alpha); + virtual void *getHash(); + private: bool updateCurrentAnimation(unsigned int dt); -- cgit v1.2.3-70-g09d2