summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-02-02 11:32:20 +0100
committerwithmorten <morten.with@gmail.com>2021-02-02 11:32:20 +0100
commit1b293a3cfb914748a217f36a98ac650d28424697 (patch)
tree6606c5d32eae51a1e387f97a83f12845a7a56a45
parentfix UB and potential crashes when doing ice cream (diff)
downloadre3-1b293a3cfb914748a217f36a98ac650d28424697.tar
re3-1b293a3cfb914748a217f36a98ac650d28424697.tar.gz
re3-1b293a3cfb914748a217f36a98ac650d28424697.tar.bz2
re3-1b293a3cfb914748a217f36a98ac650d28424697.tar.lz
re3-1b293a3cfb914748a217f36a98ac650d28424697.tar.xz
re3-1b293a3cfb914748a217f36a98ac650d28424697.tar.zst
re3-1b293a3cfb914748a217f36a98ac650d28424697.zip
-rw-r--r--src/core/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/config.h b/src/core/config.h
index f64a7602..e75cdfb0 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -347,6 +347,10 @@ static_assert(false, "SUPPORT_XBOX_SCRIPT and SUPPORT_MOBILE_SCRIPT are mutually
#define USE_ADVANCED_SCRIPT_DEBUG_OUTPUT
#define SCRIPT_LOG_FILE_LEVEL 0 // 0 == no log, 1 == overwrite every frame, 2 == full log
+#if SCRIPT_LOG_FILE_LEVEL == 0
+#undef USE_ADVANCED_SCRIPT_DEBUG_OUTPUT
+#endif
+
#ifndef USE_ADVANCED_SCRIPT_DEBUG_OUTPUT
#define USE_BASIC_SCRIPT_DEBUG_OUTPUT
#endif