diff options
author | rubidium <rubidium@openttd.org> | 2008-12-29 21:50:25 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-12-29 21:50:25 +0000 |
commit | 3c6add5293f64f7335fe0ef84606b146ce21a117 (patch) | |
tree | aec6feff3be34ba1d2dd8bd06c23da37e33ff3c1 /config.lib | |
parent | ad1c52abf86d241c024a29b5e6d1c2f10f072d1f (diff) | |
download | openttd-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.lib | 5 |
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 |