Make windowed_mouse CVAR_USERINFO

This commit is contained in:
Yamagi Burmeister 2012-03-08 11:33:58 +00:00
parent 042ec93bfe
commit 2b2e996dda
2 changed files with 2 additions and 2 deletions

View file

@ -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 */

View file

@ -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" );