summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2017-04-13 11:30:00 +0000
committer/dev/humancontroller <devhc@example.com>2017-04-15 17:24:20 +0200
commitecdfd00b5bff42afacd4f5267bdef9ae61bfc154 (patch)
tree18458c0ef7cd83137c188be9b4e61124765ab3a0 /src/game/g_main.c
parentade61ba16bcaa053255d8564f6ed45cfb72df13f (diff)
implement g_gradualFreeFunds: give free funds to each player every 2 minutes, regardless of kills and deaths
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 68043d8..5f6bed8 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -157,6 +157,7 @@ vmCvar_t g_disabledBuildables;
vmCvar_t g_buildPointsRecoverRate;
vmCvar_t g_dynamicBuildPoints;
vmCvar_t g_instantBuild;
+vmCvar_t g_gradualFreeFunds;
vmCvar_t g_markDeconstruct;
vmCvar_t g_markDeconstructMode;
@@ -424,6 +425,7 @@ static cvarTable_t gameCvarTable[ ] =
{ &g_buildPointsRecoverRate, "g_buildPointsRecoverRate", "0", CVAR_ARCHIVE, 0, qfalse },
{ &g_dynamicBuildPoints, "g_dynamicBuildPoints", "0", CVAR_ARCHIVE, 0, qfalse },
{ &g_instantBuild, "g_instantBuild", "0", CVAR_ARCHIVE, 0, qfalse },
+ { &g_gradualFreeFunds, "g_gradualFreeFunds", "1", CVAR_ARCHIVE, 0, qtrue },
{ &g_chatTeamPrefix, "g_chatTeamPrefix", "1", CVAR_ARCHIVE },
{ &g_sayAreaRange, "g_sayAreaRange", "1000", CVAR_ARCHIVE, 0, qtrue },