summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-08-10 16:34:01 +0000
committerdominik <dominik@openttd.org>2004-08-10 16:34:01 +0000
commit6c87ef6c65c1f520f1f471ded8e0a1fb7c4fb3a2 (patch)
tree301337254d53aa88dda38ddfcea0c33dceeb4ca7 /ttd.c
parent4d148bf0fa63fb36f253bdaf57e52280881945cb (diff)
downloadopenttd-6c87ef6c65c1f520f1f471ded8e0a1fb7c4fb3a2.tar.xz
(svn r9) Fixed a couple of warnings and minor coding issues
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ttd.c b/ttd.c
index 7e59aa96e..78ee234b3 100644
--- a/ttd.c
+++ b/ttd.c
@@ -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++;
}