summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-02-02 11:35:16 +0100
committerwithmorten <morten.with@gmail.com>2021-02-02 11:35:16 +0100
commitb65f8a3fe20615a61d55add82d650ac3e0cc7d68 (patch)
tree2c604162947b0ddbd56e1d94d98f4544115d78d6 /src
parentAdd radio off text (diff)
downloadre3-b65f8a3fe20615a61d55add82d650ac3e0cc7d68.tar
re3-b65f8a3fe20615a61d55add82d650ac3e0cc7d68.tar.gz
re3-b65f8a3fe20615a61d55add82d650ac3e0cc7d68.tar.bz2
re3-b65f8a3fe20615a61d55add82d650ac3e0cc7d68.tar.lz
re3-b65f8a3fe20615a61d55add82d650ac3e0cc7d68.tar.xz
re3-b65f8a3fe20615a61d55add82d650ac3e0cc7d68.tar.zst
re3-b65f8a3fe20615a61d55add82d650ac3e0cc7d68.zip
Diffstat (limited to 'src')
-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 bb1ca5e3..8a500fd5 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -340,6 +340,10 @@ enum Config {
#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