View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002398 | Spring engine | General | public | 2011-04-09 19:28 | 2011-04-12 11:45 |
| Reporter | KingRaptor | Assigned To | jK | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | no change required | ||
| Product Version | 0.82.7.1 | ||||
| Summary | 0002398: CMD.DGUN should be of type CMDTYPE.ICON_UNIT_OR_MAP rather than CMDTYPE.ICON_MAP | ||||
| Description | So that it can aim at units rather than being clamped to the ground. This is the logical default behavior, if a game dev insists on the old behavior she can always write a gadget for it. | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
https://github.com/spring/spring/blob/da562a595948c393e5a61242a9c9cd10012649de/rts/Sim/Units/CommandAI/CommandAI.cpp#L1267 CMD_DGUN gets already processed as CMDTYPE_ICON_UNIT_OR_MAP! The button in the command menu is just default to CMDTYPE_ICON_MAP. Also I already changed this in ca's calayout widget, it rebinds the dgun button as CMDTYPE_ICON_UNIT_OR_MAP -> no need for a gadget at all. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-04-09 19:28 | KingRaptor | New Issue | |
| 2011-04-10 11:14 | jK | Note Added: 0006548 | |
| 2011-04-12 11:45 | jK | Status | new => resolved |
| 2011-04-12 11:45 | jK | Resolution | open => no change required |
| 2011-04-12 11:45 | jK | Assigned To | => jK |