summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2011-08-07 23:19:33 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:18:12 +0000
commitcb1e78beeeae8ff8f78310cff3bc30e9b9dce8b8 (patch)
tree3d1b97cf982a0d59c85b8b0c1b2314474126f764 /src/game/g_main.c
parentf8bd44281b3369f667923305768ac7424a960eed (diff)
* (bug 4998) Alternate fix for r2211 (/dev/humancontroller)
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 05035c84..dc9cdd9d 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -148,9 +148,6 @@ vmCvar_t g_tag;
static char cv_gravity[ MAX_CVAR_VALUE_STRING ];
static char cv_humanMaxStage[ MAX_CVAR_VALUE_STRING ];
static char cv_alienMaxStage[ MAX_CVAR_VALUE_STRING ];
-static char cv_disabledBuildables[ MAX_CVAR_VALUE_STRING ];
-static char cv_disabledClasses[ MAX_CVAR_VALUE_STRING ];
-static char cv_disabledEquipment[ MAX_CVAR_VALUE_STRING ];
static cvarTable_t gameCvarTable[ ] =
{
@@ -235,9 +232,9 @@ static cvarTable_t gameCvarTable[ ] =
{ &g_unlagged, "g_unlagged", "1", CVAR_SERVERINFO | CVAR_ARCHIVE, 0, qtrue },
- { &g_disabledEquipment, "g_disabledEquipment", "", CVAR_ROM | CVAR_SYSTEMINFO, 0, qfalse, cv_disabledEquipment },
- { &g_disabledClasses, "g_disabledClasses", "", CVAR_ROM | CVAR_SYSTEMINFO, 0, qfalse, cv_disabledClasses },
- { &g_disabledBuildables, "g_disabledBuildables", "", CVAR_ROM | CVAR_SYSTEMINFO, 0, qfalse, cv_disabledBuildables },
+ { &g_disabledEquipment, "g_disabledEquipment", "", CVAR_ROM | CVAR_SYSTEMINFO, 0, qfalse },
+ { &g_disabledClasses, "g_disabledClasses", "", CVAR_ROM | CVAR_SYSTEMINFO, 0, qfalse },
+ { &g_disabledBuildables, "g_disabledBuildables", "", CVAR_ROM | CVAR_SYSTEMINFO, 0, qfalse },
{ &g_sayAreaRange, "g_sayAreaRange", "1000", CVAR_ARCHIVE, 0, qtrue },