2025-07-31 21:05 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002398Spring engineGeneralpublic2011-04-12 11:45
ReporterKingRaptor 
Assigned TojK 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionno change required 
Product Version0.82.7.1 
Target VersionFixed in Version 
Summary0002398: CMD.DGUN should be of type CMDTYPE.ICON_UNIT_OR_MAP rather than CMDTYPE.ICON_MAP
DescriptionSo 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.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0006548

jK (developer)

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.
+Notes

-Issue History
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
+Issue History