(List<String> args)
| 937 | } |
| 938 | |
| 939 | private static void Key_Unbind_f(List<String> args) { |
| 940 | |
| 941 | if (args.size() != 2) { |
| 942 | Com.Printf("unbind <key> : remove commands from a key\n"); |
| 943 | return; |
| 944 | } |
| 945 | |
| 946 | int b = Key.StringToKeynum(args.get(1)); |
| 947 | if (b == -1) { |
| 948 | Com.Printf("\"" + args.get(1) + "\" isn't a valid key\n"); |
| 949 | return; |
| 950 | } |
| 951 | |
| 952 | Key.SetBinding(b, null); |
| 953 | } |
| 954 | |
| 955 | private static void Key_Unbindall_f() { |
| 956 | for (int i = 0; i < 256; i++) |
nothing calls this directly
no test coverage detected