Browse Source

add Command line param "language"

pull/11/head
q4a 4 years ago
parent
commit
51ba28fae1
  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