Browse Source

Merge pull request #11 from q4a/add_lang

add Command line param "language"
pull/19/head
nillerusr 4 years ago committed by GitHub
parent
commit
ddb086ddd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      engine/cl_main.cpp

9
engine/cl_main.cpp

@ -2743,7 +2743,14 @@ void CL_InitLanguageCvar() @@ -2743,7 +2743,14 @@ void CL_InitLanguageCvar()
}
else
{
cl_language.SetValue( "english" );
if ( CommandLine()->CheckParm( "-language" ) )
{
cl_language.SetValue( CommandLine()->ParmValue( "-language", "english") );
}
else
{
cl_language.SetValue( "english" );
}
}
}

Loading…
Cancel
Save