diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-08 01:55:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-08 01:55:00 +0300 |
commit | 943c206816027b21e9d658517a0640b92df4763d (patch) | |
tree | 6af06e4c94a8efe99de596f566619b0ba50fb13c /src | |
parent | a0fa3c81b9017940d1ae9db76bb2d99e03ffd4fe (diff) | |
download | manaverse-943c206816027b21e9d658517a0640b92df4763d.tar.gz manaverse-943c206816027b21e9d658517a0640b92df4763d.tar.bz2 manaverse-943c206816027b21e9d658517a0640b92df4763d.tar.xz manaverse-943c206816027b21e9d658517a0640b92df4763d.zip |
Possible fix crash with particles.
Diffstat (limited to 'src')
-rw-r--r-- | src/imageparticle.cpp | 1 |
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 |