summaryrefslogtreecommitdiff
path: root/src/imageparticle.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-08 01:55:00 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-08 01:55:00 +0300
commit943c206816027b21e9d658517a0640b92df4763d (patch)
tree6af06e4c94a8efe99de596f566619b0ba50fb13c /src/imageparticle.cpp
parenta0fa3c81b9017940d1ae9db76bb2d99e03ffd4fe (diff)
downloadmv-943c206816027b21e9d658517a0640b92df4763d.tar.gz
mv-943c206816027b21e9d658517a0640b92df4763d.tar.bz2
mv-943c206816027b21e9d658517a0640b92df4763d.tar.xz
mv-943c206816027b21e9d658517a0640b92df4763d.zip
Possible fix crash with particles.
Diffstat (limited to 'src/imageparticle.cpp')
-rw-r--r--src/imageparticle.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imageparticle.cpp b/src/imageparticle.cpp
index 00ede704b..0f52135c9 100644
--- a/src/imageparticle.cpp
+++ b/src/imageparticle.cpp
@@ -61,6 +61,7 @@ ImageParticle::~ImageParticle()
mImage->decRef();
}
+ setMap(0);
}
bool ImageParticle::draw(Graphics *graphics, int offsetX, int offsetY) const