mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-03-26 12:52:00 +00:00
Make windowed_mouse CVAR_USERINFO
This commit is contained in:
parent
042ec93bfe
commit
2b2e996dda
2 changed files with 2 additions and 2 deletions
|
@ -271,7 +271,7 @@ VID_MenuInit ( void )
|
|||
|
||||
if ( !windowed_mouse )
|
||||
{
|
||||
windowed_mouse = Cvar_Get( "windowed_mouse", "1", CVAR_ARCHIVE );
|
||||
windowed_mouse = Cvar_Get( "windowed_mouse", "1", CVAR_USERINFO | CVAR_ARCHIVE );
|
||||
}
|
||||
|
||||
/* custom mode */
|
||||
|
|
|
@ -460,7 +460,7 @@ IN_BackendInit ( in_state_t *in_state_p )
|
|||
SDL_EnableUNICODE( 0 );
|
||||
SDL_EnableKeyRepeat( SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL );
|
||||
|
||||
windowed_mouse = ri.Cvar_Get ("windowed_mouse", "1", CVAR_ARCHIVE);
|
||||
windowed_mouse = ri.Cvar_Get ("windowed_mouse", "1", CVAR_USERINFO | CVAR_ARCHIVE);
|
||||
in_grab = ri.Cvar_Get ("in_grab", "2", CVAR_ARCHIVE);
|
||||
|
||||
Com_Printf( "Input initialized.\n" );
|
||||
|
|
Loading…
Reference in a new issue