(svn r15543) -Change: allow the default debug level of 6 for a dedicated server to be overriden by -d (if used after -D).

This commit is contained in:
rubidium
2009-02-21 13:27:09 +00:00
parent 157e0481ad
commit a4567f243d
3 changed files with 5 additions and 3 deletions

View File

@@ -439,6 +439,7 @@ int ttd_main(int argc, char *argv[])
videodriver = strdup("dedicated");
blitter = strdup("null");
dedicated = true;
SetDebugString("net=6");
if (mgo.opt != NULL) {
/* Use the existing method for parsing (openttd -n).
* However, we do ignore the #company part. */