summaryrefslogtreecommitdiff
path: root/config.lib
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-12-29 21:50:25 +0000
committerrubidium <rubidium@openttd.org>2008-12-29 21:50:25 +0000
commit3c6add5293f64f7335fe0ef84606b146ce21a117 (patch)
treeaec6feff3be34ba1d2dd8bd06c23da37e33ff3c1 /config.lib
parentad1c52abf86d241c024a29b5e6d1c2f10f072d1f (diff)
downloadopenttd-3c6add5293f64f7335fe0ef84606b146ce21a117.tar.xz
(svn r14772) -Codechange: make the "dump log of game to reproduce" desync debug stuff a runtime configurable debug option instead of a compile time option.
Diffstat (limited to 'config.lib')
-rw-r--r--config.lib5
1 files changed, 1 insertions, 4 deletions
diff --git a/config.lib b/config.lib
index 143c4967e..918e5cad1 100644
--- a/config.lib
+++ b/config.lib
@@ -1357,10 +1357,7 @@ make_cflags_and_ldflags() {
CFLAGS="$CFLAGS -DNDEBUG"
fi
- if [ "$enable_desync_debug" = "1" ]; then
- CFLAGS="$CFLAGS -DDEBUG_DUMP_COMMANDS"
- fi
- if [ "$enable_desync_debug" = "2" ]; then
+ if [ "$enable_desync_debug" != "0" ]; then
CFLAGS="$CFLAGS -DRANDOM_DEBUG"
fi