(svn r9) Fixed a couple of warnings and minor coding issues

This commit is contained in:
dominik
2004-08-10 16:34:01 +00:00
parent 4d148bf0fa
commit 6c87ef6c65
5 changed files with 5 additions and 6 deletions

2
ttd.c
View File

@@ -491,7 +491,7 @@ int ttd_main(int argc, char* argv[])
case 'v': ttd_strlcpy(videodriver, mgo.opt, sizeof(videodriver)); break;
case 'n': {
network = 1;
if ((bool)mgo.opt) {
if (mgo.opt) {
network_conn = mgo.opt;
network++;
}