View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002371 | FSSCP | gameplay | public | 2011-01-06 09:04 | 2011-04-04 14:47 |
Reporter | FSF | Assigned To | The_E | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.6.13 | ||||
Fixed in Version | 3.6.13 | ||||
Summary | 0002371: Bugged up hotkeys list | ||||
Description | This is a very strange bug having to do with the 'white bracket' hotkeys list. If a wing of hostile fighters jumps in after the mission begins, those ships will not appear with white brackets when the proper hotkey is pressed, even if they were assigned to be in the list for that hotkey. | ||||
Additional Information | In the mission attached, you should be able to target both hostile wings in white brackets by pressing F12, but you are only able to target designated fighters from the first wing, the wing that was in the mission area when it began. | ||||
Tags | No tags attached. | ||||
2011-01-06 09:04
|
|
2011-04-03 17:37
|
|
|
hud_target_hotkey_select(), line 864 in hudtarget.cpp. visible_count (the number of elements in plist) is computed as 1, while it should be 2 (for the mission attached). Now the setup of plist is too complicated for me noob, could anyone check if there's one or two ships in there? If two, then the bug is probably in the counter on lines 876-880. If one, I'll try and track it down further. New mission attached [Test_hotkey2] uses F11 as targeting hotkey, 'cause F12 triggers a breakpoint. |
|
Tracked it, found it, fixed it, tested. Patch attached, I hope I didn't miss out on any errors while testing. |
2011-04-04 13:42
|
|
|
Committed to trunk in rev 7104 |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-01-06 09:04 | FSF | New Issue | |
2011-01-06 09:04 | FSF | File Added: Test_hotkey.fs2 | |
2011-04-03 17:37 | FSF | File Added: Test_hotkey2.fs2 | |
2011-04-03 17:45 | FSF | Note Added: 0012645 | |
2011-04-04 13:42 | FSF | Note Added: 0012649 | |
2011-04-04 13:42 | FSF | File Added: hotkey_fix_FSF.zip | |
2011-04-04 14:47 | The_E | Note Added: 0012650 | |
2011-04-04 14:47 | The_E | Status | new => resolved |
2011-04-04 14:47 | The_E | Fixed in Version | => 3.6.13 |
2011-04-04 14:47 | The_E | Resolution | open => fixed |
2011-04-04 14:47 | The_E | Assigned To | => The_E |