(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.

This commit is contained in:
rubidium
2008-12-29 21:50:25 +00:00
parent 1892994ab2
commit f55995f1ef
11 changed files with 124 additions and 90 deletions

View File

@@ -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