Follow-up Comment #2, bug #7487 (project wormux):
It segfaults because of twice deletion of Ghost-clusters.
>From object/objects_list.cpp:
delete object->ptr;
object = lst.erase(object);
The "delete" line was done to fix bug #7327, where only one air_attack worked
per game (planes were reserved on the heap with "new" on every use).
If commenting it out, the cluster bomb bug seems to be fixed.
But also air_attack bug seems to be fixed, though I don't know why. I just
doesn't appear again. Perhaps because of the camera tracking following the
fire particles.
So I wonder whether it wouldn't be enough to remove these lines introduced to
fix air_attack bug (svn commit 1375).
Or will there be introduced another memleak?
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?7487>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna