diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-01 15:34:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-01 18:25:11 +0300 |
commit | 4e7096f15eba73e6ea28066df6ab389aab3f052c (patch) | |
tree | ba8902bd4b4f0137925ab98c89beaa6233a44a51 /src/animatedsprite.h | |
parent | 6661187fdc8278c9f9a15c6cdb4d85301a3e548c (diff) | |
download | manaverse-4e7096f15eba73e6ea28066df6ab389aab3f052c.tar.gz manaverse-4e7096f15eba73e6ea28066df6ab389aab3f052c.tar.bz2 manaverse-4e7096f15eba73e6ea28066df6ab389aab3f052c.tar.xz manaverse-4e7096f15eba73e6ea28066df6ab389aab3f052c.zip |
Fix random opacity issue in complex sprites in software mode.
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 6ccf2419a..e10e0f338 100644 --- a/src/animatedsprite.h +++ b/src/animatedsprite.h @@ -80,6 +80,8 @@ class AnimatedSprite : public Sprite unsigned int getFrameCount() const; + virtual void setAlpha(float alpha); + private: bool updateCurrentAnimation(unsigned int dt); |