about summary refs log tree commit diff
path: root/src/game
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-21 22:59:52 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-21 22:59:52 +0000
commit998a4cb8df2c1723ddc20828dd9f1d658df3665d (patch)
treee7e593098ac9a102c2f733a3f91d2feeb314bd35 /src/game
parent61ed16ec64219f0bb3e1fe1406ff72d24fbf3793 (diff)
downloadzcatch-998a4cb8df2c1723ddc20828dd9f1d658df3665d.tar.gz
zcatch-998a4cb8df2c1723ddc20828dd9f1d658df3665d.zip
removed some debug variables form release build. cleaned up a bit in the default.bam file
Diffstat (limited to 'src/game')
-rw-r--r--src/game/variables.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/game/variables.hpp b/src/game/variables.hpp
index 94321c36..81f0b073 100644
--- a/src/game/variables.hpp
+++ b/src/game/variables.hpp
@@ -65,8 +65,9 @@ MACRO_CONFIG_INT(sv_vote_scorelimit, 0, 0, 1, CFGFLAG_SERVER, "Allow voting to c
 MACRO_CONFIG_INT(sv_vote_timelimit, 0, 0, 1, CFGFLAG_SERVER, "Allow voting to change time limit")
 
 /* debug */
-MACRO_CONFIG_INT(dbg_dummies, 0, 0, 15, CFGFLAG_SERVER, "")
-MACRO_CONFIG_INT(dbg_firedelay, 0, 0, 1, CFGFLAG_CLIENT, "")
-MACRO_CONFIG_INT(dbg_flow, 0, 0, 1, CFGFLAG_CLIENT, "")
-MACRO_CONFIG_INT(dbg_tuning, 0, 0, 1, CFGFLAG_CLIENT, "")
+#ifdef CONF_DEBUG /* this one can crash the server if not used correctly */
+	MACRO_CONFIG_INT(dbg_dummies, 0, 0, 15, CFGFLAG_SERVER, "")
+#endif
+
 MACRO_CONFIG_INT(dbg_focus, 0, 0, 1, CFGFLAG_CLIENT, "")
+MACRO_CONFIG_INT(dbg_tuning, 0, 0, 1, CFGFLAG_CLIENT, "")