| 347 | //============================================================================= |
| 348 | |
| 349 | void FKeyBindings::UnbindKey(const char *key) |
| 350 | { |
| 351 | int i; |
| 352 | |
| 353 | if ( (i = GetKeyFromName (key)) ) |
| 354 | { |
| 355 | Binds[i] = ""; |
| 356 | } |
| 357 | else |
| 358 | { |
| 359 | Printf ("Unknown key \"%s\"\n", key); |
| 360 | return; |
| 361 | } |
| 362 | } |
| 363 | |
| 364 | //============================================================================= |
| 365 | // |
no test coverage detected