mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
a commandline option to set translation
This commit is contained in:
parent
0cb2425c5a
commit
3974053b81
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user