call CL_ShutdownInput()

This commit is contained in:
smallmodel 2024-09-22 16:39:30 +02:00
parent d57ea3695b
commit dbd10a281b
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512
2 changed files with 4 additions and 0 deletions

View file

@ -3567,6 +3567,8 @@ void CL_Shutdown(const char* finalmsg, qboolean disconnect, qboolean quit) {
Cmd_RemoveCommand ("video"); Cmd_RemoveCommand ("video");
Cmd_RemoveCommand ("stopvideo"); Cmd_RemoveCommand ("stopvideo");
CL_ShutdownInput();
Cvar_Set( "cl_running", "0" ); Cvar_Set( "cl_running", "0" );
recursive = qfalse; recursive = qfalse;

View file

@ -520,6 +520,7 @@ void IN_MouseOn( void );
void IN_MouseOff( void ); void IN_MouseOff( void );
void CL_InitInput (void); void CL_InitInput (void);
void CL_ShutdownInput(void);
void CL_SendCmd (void); void CL_SendCmd (void);
void CL_ClearState (void); void CL_ClearState (void);
void CL_ReadPackets (void); void CL_ReadPackets (void);
@ -583,6 +584,7 @@ void Con_DrawCharacter (int cx, int line, int num);
void Con_CheckResize (void); void Con_CheckResize (void);
void Con_Init (void); void Con_Init (void);
void Con_Shutdown (void);
void Con_Clear_f (void); void Con_Clear_f (void);
void Con_ToggleConsole_f (void); void Con_ToggleConsole_f (void);
void Con_DrawNotify (void); void Con_DrawNotify (void);