summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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