summaryrefslogtreecommitdiff
path: root/src/monster.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-08 21:54:38 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-08 22:01:19 +0100
commitb8cca9c48d6ea5a2372e10bbe2a75ae95917db42 (patch)
tree7a1b6eea0054e17316f64f82b0d3febe5e8cd140 /src/monster.cpp
parent337fdc49fc9fd5c041568c30327a9aab66e6080d (diff)
downloadmana-client-b8cca9c48d6ea5a2372e10bbe2a75ae95917db42.tar.gz
mana-client-b8cca9c48d6ea5a2372e10bbe2a75ae95917db42.tar.bz2
mana-client-b8cca9c48d6ea5a2372e10bbe2a75ae95917db42.tar.xz
mana-client-b8cca9c48d6ea5a2372e10bbe2a75ae95917db42.zip
An attempt to fix the crashes related to particles
The player character is never deleted, and hence might have particles still active when the map changes. These particles are deleted on map change, but when the player character was moved, it was trying to mark these deleted particles for deletion, writing to unallocated memory. The marking for deletion by the player character now happens before the particles are deleted. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
Diffstat (limited to 'src/monster.cpp')
0 files changed, 0 insertions, 0 deletions