summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-01-15 20:10:44 +0000
committertruelight <truelight@openttd.org>2005-01-15 20:10:44 +0000
commit1b00f36520f9630581b7f2857fabccc9fefcf5ed (patch)
tree92639682cfa9e6c68a14befa0d308b72660b9fd0 /ttd.c
parent24c9e6ff66c6386a182b0fe5eef5f371793b468e (diff)
downloadopenttd-1b00f36520f9630581b7f2857fabccc9fefcf5ed.tar.xz
(svn r1528) -Fix: forgot to init a variable
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ttd.c b/ttd.c
index df0d7a5e4..f86ca5ceb 100644
--- a/ttd.c
+++ b/ttd.c
@@ -567,6 +567,8 @@ int ttd_main(int argc, char* argv[])
_dedicated_forks = false;
_dedicated_enabled = false;
+ _redirect_console_to_client = 0;
+
// The last param of the following function means this:
// a letter means: it accepts that param (e.g.: -h)
// a ':' behind it means: it need a param (e.g.: -m<driver>)