mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-10 14:12:04 +08:00
engine: convert Cvar_Get with va to Cvar_Getf
This commit is contained in:
@@ -874,7 +874,7 @@ void SV_Init( void )
|
||||
|
||||
SV_InitHostCommands();
|
||||
|
||||
Cvar_Get( "protocol", va( "%i", PROTOCOL_VERSION ), FCVAR_READ_ONLY, "displays server protocol version" );
|
||||
Cvar_Getf( "protocol", FCVAR_READ_ONLY, "displays server protocol version", "%i", PROTOCOL_VERSION );
|
||||
Cvar_Get( "suitvolume", "0.25", FCVAR_ARCHIVE, "HEV suit volume" );
|
||||
Cvar_Get( "sv_background", "0", FCVAR_READ_ONLY, "indicate what background map is running" );
|
||||
Cvar_Get( "gamedir", GI->gamefolder, FCVAR_READ_ONLY, "game folder" );
|
||||
|
||||
Reference in New Issue
Block a user