mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-12 08:08:06 +00:00
add Command line param "language"
This commit is contained in:
parent
d349b1769a
commit
51ba28fae1
@ -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 New Issue
Block a user