summaryrefslogtreecommitdiff
path: root/src
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
parenta0fa3c81b9017940d1ae9db76bb2d99e03ffd4fe (diff)
downloadmanaplus-943c206816027b21e9d658517a0640b92df4763d.tar.gz
manaplus-943c206816027b21e9d658517a0640b92df4763d.tar.bz2
manaplus-943c206816027b21e9d658517a0640b92df4763d.tar.xz
manaplus-943c206816027b21e9d658517a0640b92df4763d.zip
Possible fix crash with particles.
Diffstat (limited to 'src')
-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