View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003226 | Spring engine | General | public | 2012-07-30 00:38 | 2012-07-30 12:42 |
| Reporter | gajop | Assigned To | Kloot | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 89.0 | ||||
| Fixed in Version | 89.0.1+git | ||||
| Summary | 0003226: Spring.SetFeaturePosition doesn't work | ||||
| Description | It simply does nothing for me, and I have a valid featureID. I'm using the same code for moving units, via Spring.SetUnitPosition and that works ok, and as a workaround I'm currently destroying features and recreating new ones at different positions using Spring.CreateFeature. | ||||
| Steps To Reproduce | Create a feature, and then set its positions using Spring.SetFeaturePosition to be different than those initially set. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
|
|
Bug's probably here: https://github.com/spring/spring/blob/develop/rts/Sim/Features/Feature.cpp#L405 In comparison to what it should be like: https://github.com/spring/spring/blob/develop/rts/Sim/Units/Unit.cpp#L553 However it seems those two ForcedMoves aren't supposed to behave the same way, but this is the patch I managed to create (Feature.cpp) PS: the diff supplied was for a 89.0 clean, not the git one (can't be bothered to configure it on arch right now) |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-07-30 00:38 | gajop | New Issue | |
| 2012-07-30 01:52 | gajop | File Added: Feature.cpp.diff | |
| 2012-07-30 01:52 | gajop | Note Added: 0009093 | |
| 2012-07-30 01:53 | gajop | Note Edited: 0009093 | |
| 2012-07-30 12:42 | Kloot | Status | new => resolved |
| 2012-07-30 12:42 | Kloot | Fixed in Version | => 89.0.1+git |
| 2012-07-30 12:42 | Kloot | Resolution | open => fixed |
| 2012-07-30 12:42 | Kloot | Assigned To | => Kloot |