summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2009-10-03 13:05:21 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:27 +0000
commit99d2911300ee3bc1b2e86e081c0119b8aedb0361 (patch)
tree4d0eb8d6640e08e35689d90b5059373cbc81449f /src
parent95b2814fcfb73daf221fe95e59787ba061b7f349 (diff)
* Cheat protect cgame cvars that indirectly set timescale
Diffstat (limited to 'src')
-rw-r--r--src/cgame/cg_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c
index 4ddc5c47..eb9f2c73 100644
--- a/src/cgame/cg_main.c
+++ b/src/cgame/cg_main.c
@@ -337,8 +337,8 @@ static cvarTable_t cvarTable[ ] =
{ &cg_paused, "cl_paused", "0", CVAR_ROM },
{ &cg_blood, "com_blood", "1", CVAR_ARCHIVE },
{ &cg_synchronousClients, "g_synchronousClients", "0", 0 }, // communicated by systeminfo
- { &cg_timescaleFadeEnd, "cg_timescaleFadeEnd", "1", 0},
- { &cg_timescaleFadeSpeed, "cg_timescaleFadeSpeed", "0", 0},
+ { &cg_timescaleFadeEnd, "cg_timescaleFadeEnd", "1", CVAR_CHEAT },
+ { &cg_timescaleFadeSpeed, "cg_timescaleFadeSpeed", "0", CVAR_CHEAT },
{ &cg_timescale, "timescale", "1", 0},
{ &cg_smoothClients, "cg_smoothClients", "0", CVAR_USERINFO | CVAR_ARCHIVE},
{ &cg_cameraMode, "com_cameraMode", "0", CVAR_CHEAT},