| 554 | } |
| 555 | |
| 556 | static void InputHandler_Toggle(int key, cc_bool* target, const char* enableMsg, const char* disableMsg) { |
| 557 | *target = !(*target); |
| 558 | if (*target) { |
| 559 | Chat_Add2("%c. &ePress &a%c &eto disable.", enableMsg, Input_DisplayNames[key]); |
| 560 | } else { |
| 561 | Chat_Add2("%c. &ePress &a%c &eto re-enable.", disableMsg, Input_DisplayNames[key]); |
| 562 | } |
| 563 | } |
| 564 | |
| 565 | cc_bool InputHandler_SetFOV(int fov) { |
| 566 | struct HacksComp* h = &Entities.CurPlayer->Hacks; |
no test coverage detected