Merge pull request #11 from q4a/add_lang
add Command line param "language"
This commit is contained in:
commit
ddb086ddd1
1 changed files with 8 additions and 1 deletions
|
@ -2743,7 +2743,14 @@ void CL_InitLanguageCvar()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cl_language.SetValue( "english" );
|
if ( CommandLine()->CheckParm( "-language" ) )
|
||||||
|
{
|
||||||
|
cl_language.SetValue( CommandLine()->ParmValue( "-language", "english") );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
cl_language.SetValue( "english" );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue