a commandline option to set translation

This commit is contained in:
Zeno Rogue 2018-10-01 00:01:55 +02:00
parent 0cb2425c5a
commit 3974053b81
1 changed files with 5 additions and 0 deletions

View File

@ -1492,6 +1492,11 @@ int read_config_args() {
else if(argis("-alpha")) {
PHASEFROM(2); shift(); vid.alpha = argf();
}
#if CAP_TRANS
else if(argis("-lang")) {
PHASEFROM(2); shift(); vid.language = argi();
}
#endif
else if(argis("-r")) {
PHASEFROM(2);
shift();