mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-13 00:28:18 +00:00
Merge pull request #11 from q4a/add_lang
add Command line param "language"
This commit is contained in:
commit
ddb086ddd1
@ -2742,10 +2742,17 @@ void CL_InitLanguageCvar()
|
|||||||
cl_language.SetValue( Steam3Client().SteamApps()->GetCurrentGameLanguage() );
|
cl_language.SetValue( Steam3Client().SteamApps()->GetCurrentGameLanguage() );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if ( CommandLine()->CheckParm( "-language" ) )
|
||||||
|
{
|
||||||
|
cl_language.SetValue( CommandLine()->ParmValue( "-language", "english") );
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
cl_language.SetValue( "english" );
|
cl_language.SetValue( "english" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void CL_ChangeCloudSettingsCvar( IConVar *var, const char *pOldValue, float flOldValue );
|
void CL_ChangeCloudSettingsCvar( IConVar *var, const char *pOldValue, float flOldValue );
|
||||||
ConVar cl_cloud_settings( "cl_cloud_settings", "1", FCVAR_HIDDEN, "Cloud enabled from (from HKCU\\Software\\Valve\\Steam\\Apps\\appid\\Cloud)", CL_ChangeCloudSettingsCvar );
|
ConVar cl_cloud_settings( "cl_cloud_settings", "1", FCVAR_HIDDEN, "Cloud enabled from (from HKCU\\Software\\Valve\\Steam\\Apps\\appid\\Cloud)", CL_ChangeCloudSettingsCvar );
|
||||||
|
Loading…
Reference in New Issue
Block a user