summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
authormtiusane <mtiusane@users.noreply.github.com>2014-08-16 16:35:02 +0300
committermtiusane <mtiusane@users.noreply.github.com>2014-08-16 16:35:02 +0300
commit2d61fc67ad2537068a14b3b5d4a467ae8ec665fc (patch)
tree93f07c1f65345f79f337acbc4004f9ec47a1e745 /src/game/g_main.c
parent95fb2db6af47c89821c59c7837bb93d9e59f00f7 (diff)
parent8816244ec329acdd5eb64e0518e69ae77df1cd75 (diff)
Merge pull request #7 from ppetr/medkit
Add the ability for humans to heal their team members
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 45f7b03..c644bdd 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -86,6 +86,8 @@ vmCvar_t g_suddenDeathVotePercent;
vmCvar_t g_suddenDeathVoteDelay;
vmCvar_t g_armageddonVotePercent;
vmCvar_t g_armageddonPercent;
+vmCvar_t g_humanMedkitRange;
+vmCvar_t g_humanMedkitWidth;
vmCvar_t g_readyPercent;
vmCvar_t g_teamForceBalance;
vmCvar_t g_smoothClients;
@@ -217,6 +219,8 @@ static cvarTable_t gameCvarTable[ ] =
{ &g_maxclients, "sv_maxclients", "8", CVAR_SERVERINFO | CVAR_LATCH | CVAR_ARCHIVE, 0, qfalse },
{ &g_maxGameClients, "g_maxGameClients", "0", CVAR_SERVERINFO | CVAR_ARCHIVE, 0, qfalse },
{ &g_timelimit, "timelimit", "0", CVAR_SERVERINFO | CVAR_ARCHIVE | CVAR_NORESTART, 0, qtrue },
+ { &g_humanMedkitRange, "g_humanMedkitRange", "200", CVAR_ARCHIVE, 0, qfalse },
+ { &g_humanMedkitWidth, "g_humanMedkitWidth", "20", CVAR_ARCHIVE, 0, qfalse },
{ &g_suddenDeathTime, "g_suddenDeathTime", "40", CVAR_SERVERINFO | CVAR_ARCHIVE | CVAR_NORESTART, 0, qtrue },
{ &g_armageddonTimeStep, "g_armageddonTimeStep", "5", CVAR_SERVERINFO | CVAR_ARCHIVE | CVAR_NORESTART, 0, qtrue },
{ &g_armageddonInitialTimeStep, "g_armageddonInitialTimeStep", "10", CVAR_SERVERINFO | CVAR_ARCHIVE | CVAR_NORESTART, 0, qtrue },