summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
authorMikko Tiusanen <ams@daug.net>2014-06-03 00:31:29 +0300
committerMikko Tiusanen <ams@daug.net>2014-06-03 00:31:29 +0300
commit00fc79978bf84ab9cc88fda7c7ec4ea00cdb5b7b (patch)
tree58e1fbf554bfb20e0becc70d531a62a969ec7b31 /src/game/g_main.c
parentddf28c92d9ccf00152b75ab7551c3b655de597cf (diff)
Cleaned up some of the code related to previous changes.
Commented out increment line that caused cvar change messages on building death.
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 53f36ce..755aee1 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -263,7 +263,6 @@ static cvarTable_t gameCvarTable[ ] =
{ &g_humanRefineryRadius, "g_humanRefineryRadius", REFINERY_RADIUS, CVAR_ARCHIVE, 0, qfalse },
{ &g_humanStage, "g_humanStage", "0", 0, 0, qfalse },
{ &g_humanCredits, "g_humanCredits", "0", 0, 0, qfalse },
- { &g_humanStage, "g_humanStage", "0", 0, 0, qfalse },
{ &g_humanMaxStage, "g_humanMaxStage", DEFAULT_HUMAN_MAX_STAGE, 0, 0, qfalse, cv_humanMaxStage },
{ &g_humanStage2Threshold, "g_humanStage2Threshold", DEFAULT_HUMAN_STAGE2_THRESH, 0, 0, qfalse },
{ &g_humanStage3Threshold, "g_humanStage3Threshold", DEFAULT_HUMAN_STAGE3_THRESH, 0, 0, qfalse },
@@ -340,7 +339,7 @@ static cvarTable_t gameCvarTable[ ] =
{ &g_KillRewardMultiplierH, "g_KillRewardMultiplierH", "1", CVAR_ARCHIVE, 0, qfalse },
{ &g_ConstantRewardFactor, "g_ConstantRewardFactor", "0.25", CVAR_ARCHIVE, 0, qfalse },
{ &g_TeamRewardFactor, "g_TeamRewardFactor", "0.5", CVAR_ARCHIVE, 0, qfalse },
- { &g_PlayerRewardFactor, "g_PlayerRewardFactor", "0.25", CVAR_ARCHIVE, 0, qfalse }
+ { &g_PlayerRewardFactor, "g_PlayerRewardFactor", "0.25", CVAR_ARCHIVE, 0, qfalse },
};
static int gameCvarTableSize = sizeof( gameCvarTable ) / sizeof( gameCvarTable[ 0 ] );
void G_InitGame( int levelTime, int randomSeed, int restart );