From a674fef72eb6f8bc1ba25ef6c7aef0193a0e59dc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 16 Feb 2013 01:25:53 +0300 Subject: Fix crash with particle effects with animation/rotation without emitter. This bug first was detected in brazilian tmw server. --- src/simpleanimation.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/simpleanimation.h') 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 -- cgit v1.2.3-60-g2f50