View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003400 | Spring engine | Lua | public | 2013-01-16 14:47 | 2013-01-16 18:31 |
| Reporter | sprung | Assigned To | Kloot | ||
| Priority | low | Severity | trivial | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 91.0 | ||||
| Summary | 0003400: Spring.GetVisibleFeatures() crashes on unit > feature change | ||||
| Description | Spring.GetVisibleFeatures(), when called from gadget:DrawWorld(), crashes on the frame when units change into features, ie. on death with wrecks or for units with isFeature = true. Doesn't crash when unit dies without leaving a wreck. | ||||
| Steps To Reproduce | if (gadgetHandler:IsSyncedCode()) then return end function gadget:DrawWorld() Spring.GetVisibleFeatures() end | ||||
| Additional Information | I call it from gadget:DrawWorld(), without any arguments. It crashes on the call, not on iteration over the table. | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||