Deactivate the mouse only when loading

This commit is contained in:
smallmodel 2024-09-14 23:29:30 +02:00
parent 9f48dabaec
commit b509ef5ab4
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -1212,7 +1212,7 @@ void IN_Frame( void )
IN_JoyMove( );
// If not DISCONNECTED (main menu) or ACTIVE (in game), we're loading
loading = (clc.state != CA_DISCONNECTED && clc.state != CA_ACTIVE && clc.state != CA_CONNECTING );
loading = (clc.state == CA_LOADING || clc.state == CA_PRIMED);
// update isFullscreen since it might of changed since the last vid_restart
cls.glconfig.isFullscreen = Cvar_VariableIntegerValue( "r_fullscreen" ) != 0;