Fix fallthrough in command line parsing

master
Lukas Werling 2018-04-23 12:12:32 +02:00
parent 6d5dc2b92e
commit f8c0fe6f82
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ void C4Application::ParseCommandLine(int argc, char * argv[])
case 'n': Game.NetworkActive = true; break;
case 'N': Game.NetworkActive = false; break;
// Language override by parameter
case 'L': SCopy(optarg, Config.General.LanguageEx, CFG_MaxString);
case 'L': SCopy(optarg, Config.General.LanguageEx, CFG_MaxString); break;
// port overrides
case 't': Config.Network.PortTCP = atoi(optarg); break;
case 'u': Config.Network.PortUDP = atoi(optarg); break;