From 3974053b8106512ab10171178add4be342e090e7 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 1 Oct 2018 00:01:55 +0200 Subject: [PATCH] a commandline option to set translation --- config.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.cpp b/config.cpp index 7a7cedbb..a0c3e757 100644 --- a/config.cpp +++ b/config.cpp @@ -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();