summaryrefslogtreecommitdiff
path: root/src/cgame/cg_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_main.c')
-rw-r--r--src/cgame/cg_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c
index cf5eeebe..c3d52527 100644
--- a/src/cgame/cg_main.c
+++ b/src/cgame/cg_main.c
@@ -237,6 +237,8 @@ vmCvar_t ui_humanTeamVoteActive;
vmCvar_t cg_debugRandom;
+vmCvar_t cg_optimizePrediction;
+
typedef struct
{
@@ -350,6 +352,8 @@ static cvarTable_t cvarTable[ ] =
{ &ui_alienTeamVoteActive, "ui_alienTeamVoteActive", "0", 0 },
{ &cg_debugRandom, "cg_debugRandom", "0", 0 },
+
+ { &cg_optimizePrediction, "cg_optimizePrediction", "1", CVAR_ARCHIVE },
// the following variables are created in other parts of the system,
// but we also reference them here