mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Deactivate the mouse only when loading
This commit is contained in:
parent
9f48dabaec
commit
b509ef5ab4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue