diff --git a/code/sys/sys_main.c b/code/sys/sys_main.c index 0598f293..40b07e5d 100644 --- a/code/sys/sys_main.c +++ b/code/sys/sys_main.c @@ -112,6 +112,14 @@ Restart the input subsystem */ void Sys_In_Restart_f( void ) { +#ifndef DEDICATED + if( !SDL_WasInit( SDL_INIT_VIDEO ) ) + { + Com_Printf( "in_restart: Cannot restart input while video is shutdown\n" ); + return; + } +#endif + IN_Restart( ); }