summaryrefslogtreecommitdiff
path: root/src/simpleanimation.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-16 01:25:53 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-16 01:25:53 +0300
commita674fef72eb6f8bc1ba25ef6c7aef0193a0e59dc (patch)
tree7ef98150a2e2a36a5c667531b2f613457d6c7d8d /src/simpleanimation.h
parent59321c4bac45456a141639ea371238823bd9f708 (diff)
downloadmv-a674fef72eb6f8bc1ba25ef6c7aef0193a0e59dc.tar.gz
mv-a674fef72eb6f8bc1ba25ef6c7aef0193a0e59dc.tar.bz2
mv-a674fef72eb6f8bc1ba25ef6c7aef0193a0e59dc.tar.xz
mv-a674fef72eb6f8bc1ba25ef6c7aef0193a0e59dc.zip
Fix crash with particle effects with animation/rotation without emitter.
This bug first was detected in brazilian tmw server.
Diffstat (limited to 'src/simpleanimation.h')
-rw-r--r--src/simpleanimation.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/simpleanimation.h b/src/simpleanimation.h
index 131cd4c07..e30455a04 100644
--- a/src/simpleanimation.h
+++ b/src/simpleanimation.h
@@ -30,6 +30,7 @@
class Animation;
class Graphics;
class Image;
+class ImageSet;
struct Frame;
@@ -91,6 +92,8 @@ class SimpleAnimation final
/** Tell whether the animation is ready */
bool mInitialized;
+
+ ImageSet *mImageSet;
};
#endif