diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-01 21:05:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-02 18:38:14 +0300 |
commit | aac238cec9cab9efe7319d8397b95e7a77bdb5cd (patch) | |
tree | 3298f3b604d4d45cc6d04f871f6a1abb29cdd554 /src/animatedsprite.h | |
parent | 4e7096f15eba73e6ea28066df6ab389aab3f052c (diff) | |
download | manaverse-aac238cec9cab9efe7319d8397b95e7a77bdb5cd.tar.gz manaverse-aac238cec9cab9efe7319d8397b95e7a77bdb5cd.tar.bz2 manaverse-aac238cec9cab9efe7319d8397b95e7a77bdb5cd.tar.xz manaverse-aac238cec9cab9efe7319d8397b95e7a77bdb5cd.zip |
Fix perfomance issue with caching complex sprites.
Diffstat (limited to 'src/animatedsprite.h')
-rw-r--r-- | src/animatedsprite.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |