summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-08-04 12:53:41 +0000
committertruelight <truelight@openttd.org>2007-08-04 12:53:41 +0000
commit8ca03887b9b2d0edff4e5c600bc6a3303527e96d (patch)
tree95e47824c2caa1c36c3ad2d37010fe7f16650f26 /src/openttd.cpp
parenta2d6ed734721ddd4a02ac7e97f1bb9ed029f9e70 (diff)
downloadopenttd-8ca03887b9b2d0edff4e5c600bc6a3303527e96d.tar.xz
(svn r10781) -Fix: ported more pieces to WinCE, so it compiles a bit more
-Fix: WinCE doesn't support console -Fix: Set debug lvl4 when running a debug WinCE build (as you can't give parameters any easy way)
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index f20003a49..ae415748b 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -452,6 +452,11 @@ int ttd_main(int argc, char *argv[])
}
}
+#if defined(WINCE) && defined(_DEBUG)
+ /* Switch on debug lvl 4 for WinCE if Debug release, as you can't give params, and you most likely do want this information */
+ SetDebugString("4");
+#endif
+
DeterminePaths(argv[0]);
CheckExternalFiles();