summaryrefslogtreecommitdiff
path: root/src/particleemitter.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-26 19:15:48 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-26 19:15:48 +0300
commitaeef06d5d58dcc6f9339bf6ef5a87e06a4827b17 (patch)
tree463861d544a1b6bb4fbab4f5176fe812e6b58d97 /src/particleemitter.h
parentce6905ac29998890ed41dc3039bb548a440e2608 (diff)
downloadplus-aeef06d5d58dcc6f9339bf6ef5a87e06a4827b17.tar.gz
plus-aeef06d5d58dcc6f9339bf6ef5a87e06a4827b17.tar.bz2
plus-aeef06d5d58dcc6f9339bf6ef5a87e06a4827b17.tar.xz
plus-aeef06d5d58dcc6f9339bf6ef5a87e06a4827b17.zip
Fix some imageset memory leaks.
Diffstat (limited to 'src/particleemitter.h')
-rw-r--r--src/particleemitter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/particleemitter.h b/src/particleemitter.h
index ed6518f0e..5a68584c6 100644
--- a/src/particleemitter.h
+++ b/src/particleemitter.h
@@ -32,6 +32,7 @@
#include <list>
class Image;
+class ImageSet;
class Map;
class Particle;
@@ -150,5 +151,7 @@ class ParticleEmitter
/** List of emitters the spawned particles are equipped with */
std::list<ParticleEmitter> mParticleChildEmitters;
+
+ std::list<ImageSet*> mTempSets;
};
#endif