Created attachment 2626[details]
Remove unused 'int id;' from missionpack ui bind_t.
Missionpack ui has 'int id;' in its bind_t, but 'id' is unused and there is no 'id' data in g_bindings. 'id' field is skipped in g_bindings definition, so data fields after 'id' are labeled wrong. After looking at code and testing, it appears nothing should change if 'id' is removed.
If 'Controls_SetConfig(qtrue);' was placed after 'Controls_SetDefaults();' in ui_main.c it would now set default binds for controls, instead of doing nothing. Default binds in g_bindings would need changes before that should be added ioq3.
Created attachment 2626 [details] Remove unused 'int id;' from missionpack ui bind_t. Missionpack ui has 'int id;' in its bind_t, but 'id' is unused and there is no 'id' data in g_bindings. 'id' field is skipped in g_bindings definition, so data fields after 'id' are labeled wrong. After looking at code and testing, it appears nothing should change if 'id' is removed. If 'Controls_SetConfig(qtrue);' was placed after 'Controls_SetDefaults();' in ui_main.c it would now set default binds for controls, instead of doing nothing. Default binds in g_bindings would need changes before that should be added ioq3.