2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2025-01-05 07:55:40 +01:00

client: make some cvars archive.

This commit is contained in:
Andrey Akhmichin 2019-11-04 00:05:51 +05:00
parent 88161eac14
commit b8f2d8c972
2 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ int CHudDeathNotice::Init( void )
HOOK_MESSAGE( DeathMsg );
CVAR_CREATE( "hud_deathnotice_time", "6", 0 );
CVAR_CREATE( "hud_deathnotice_time", "6", FCVAR_ARCHIVE );
return 1;
}

View File

@ -190,9 +190,9 @@ void CHud::Init( void )
m_iLogo = 0;
m_iFOV = 0;
CVAR_CREATE( "zoom_sensitivity_ratio", "1.2", 0 );
CVAR_CREATE( "zoom_sensitivity_ratio", "1.2", FCVAR_ARCHIVE );
CVAR_CREATE( "cl_autowepswitch", "1", FCVAR_ARCHIVE | FCVAR_USERINFO );
default_fov = CVAR_CREATE( "default_fov", "90", 0 );
default_fov = CVAR_CREATE( "default_fov", "90", FCVAR_ARCHIVE );
m_pCvarStealMouse = CVAR_CREATE( "hud_capturemouse", "1", FCVAR_ARCHIVE );
m_pCvarDraw = CVAR_CREATE( "hud_draw", "1", FCVAR_ARCHIVE );
cl_lw = gEngfuncs.pfnGetCvarPointer( "cl_lw" );