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
commit424757c078410041cce35a8678b59b7a56c47ccb (patch)
tree95e47824c2caa1c36c3ad2d37010fe7f16650f26 /src/openttd.cpp
parentcb9d0c69d1fac53c479b678741f82df084b1b5ba (diff)
downloadopenttd-424757c078410041cce35a8678b59b7a56c47ccb.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();