(Object self)
| 781 | } |
| 782 | |
| 783 | private static void KeyBindingFunc(Object self) { |
| 784 | menuaction_s a = (menuaction_s) self; |
| 785 | int keys[] = { 0, 0 }; |
| 786 | |
| 787 | FindKeysForCommand(bindnames[a.localdata[0]][0], keys); |
| 788 | |
| 789 | if (keys[1] != -1) |
| 790 | UnbindCommand(bindnames[a.localdata[0]][0]); |
| 791 | |
| 792 | bind_grab = true; |
| 793 | |
| 794 | Menu_SetStatusBar(s_keys_menu, "press a key or button for this action"); |
| 795 | } |
| 796 | |
| 797 | private static void Keys_MenuInit() { |
| 798 | int y = 0; |
no test coverage detected