Fix #9940: Print debuglevel parse errors to console when changed from console
This commit is contained in:
@@ -564,7 +564,7 @@ int openttd_main(int argc, char *argv[])
|
||||
videodriver = "dedicated";
|
||||
blitter = "null";
|
||||
dedicated = true;
|
||||
SetDebugString("net=4");
|
||||
SetDebugString("net=4", ShowInfo);
|
||||
if (mgo.opt != nullptr) {
|
||||
scanner->dedicated_host = ParseFullConnectionString(mgo.opt, scanner->dedicated_port);
|
||||
}
|
||||
@@ -588,7 +588,7 @@ int openttd_main(int argc, char *argv[])
|
||||
#if defined(_WIN32)
|
||||
CreateConsole();
|
||||
#endif
|
||||
if (mgo.opt != nullptr) SetDebugString(mgo.opt);
|
||||
if (mgo.opt != nullptr) SetDebugString(mgo.opt, ShowInfo);
|
||||
break;
|
||||
}
|
||||
case 'e': _switch_mode = (_switch_mode == SM_LOAD_GAME || _switch_mode == SM_LOAD_SCENARIO ? SM_LOAD_SCENARIO : SM_EDITOR); break;
|
||||
|
Reference in New Issue
Block a user