| 3494 | } |
| 3495 | |
| 3496 | bool CClient::CtrlShiftKey(int Key, bool &Last) |
| 3497 | { |
| 3498 | if(Input()->ModifierIsPressed() && Input()->ShiftIsPressed() && !Last && Input()->KeyIsPressed(Key)) |
| 3499 | { |
| 3500 | Last = true; |
| 3501 | return true; |
| 3502 | } |
| 3503 | else if(Last && !Input()->KeyIsPressed(Key)) |
| 3504 | Last = false; |
| 3505 | |
| 3506 | return false; |
| 3507 | } |
| 3508 | |
| 3509 | void CClient::Con_Connect(IConsole::IResult *pResult, void *pUserData) |
| 3510 | { |
nothing calls this directly
no test coverage detected