diff options
author | IronClawTrem <louie.nutman@gmail.com> | 2019-10-05 23:55:52 +0100 |
---|---|---|
committer | IronClaw <louie.nutman@gmail.com> | 2019-10-05 23:58:26 +0100 |
commit | 19d2fb012968269684633603da1a635bb9528d80 (patch) | |
tree | fc3a1516499dbc1c0ea5b83e55a1b46ec9c7e69b /src/game/g_main.c | |
parent | a4753e7f5931b7e8dee7c7b01206a8685449200f (diff) |
spectator noclip
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r-- | src/game/g_main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index b2e329a..c6744e3 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -284,6 +284,8 @@ vmCvar_t g_scrimMode; vmCvar_t g_revertCooldownTime; +vmCvar_t g_specNoclip; + static cvarTable_t gameCvarTable[ ] = { // don't override the cheat state set by the system @@ -555,7 +557,9 @@ static cvarTable_t gameCvarTable[ ] = { &g_schachtmeisterAutobahnThreshold, "g_schachtmeisterAutobahnThreshold", "-30", CVAR_ARCHIVE, 0, qfalse }, { &g_schachtmeisterAutobahnMessage, "g_schachtmeisterAutobahnMessage", "Your host is blacklisted.", CVAR_ARCHIVE, 0, qfalse }, - { &g_revertCooldownTime, "g_revertCooldownTime", "30", CVAR_ARCHIVE, 0, qfalse } + { &g_revertCooldownTime, "g_revertCooldownTime", "30", CVAR_ARCHIVE, 0, qfalse }, + + { &g_specNoclip, "g_specNoclip", "0", CVAR_ARCHIVE, 0, qtrue } }; static int gameCvarTableSize = sizeof( gameCvarTable ) / sizeof( gameCvarTable[ 0 ] ); |