Summary: | crash when unit's target is destroyed and removed | ||
---|---|---|---|
Product: | [Applications] boson | Reporter: | Rivo Laks <rivolaks> |
Component: | general | Assignee: | The Boson Team <boson-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Rivo Laks
2003-03-10 21:35:40 UTC
This should be fixed now (see my cvs log). I did not test it, so if you have a map / savegame with these conditions around it would be nice if you tested it. I am also not sure if we should call setWork(WorkNone) on the units that had the deleted unit as target - currently we just call setTarget(0). I'm not sure if that is enough - we'll see whether it causes ERROR or WARNING lines (that would be the worst thing that could happen, btw). CU Andi It wasn't actually fixed - you had made a typo in bosoncanvas.cpp. But now I fixed it and it works. Rivo |