summaryrefslogtreecommitdiff
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
commitb454e12bc5ba76e8ac111513757f4c37bb585211 (patch)
tree92639682cfa9e6c68a14befa0d308b72660b9fd0
parent27929d129b8060873f5f55a4e703d60b3af65d55 (diff)
downloadopenttd-b454e12bc5ba76e8ac111513757f4c37bb585211.tar.xz
(svn r1528) -Fix: forgot to init a variable
-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>)