summaryrefslogtreecommitdiff
path: root/src/game/g_active.c
diff options
context:
space:
mode:
authorRoman Tetelman <kevlarman@gmail.com>2009-10-03 13:05:56 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:28 +0000
commit05c82406cb6782b4e6f91609d1f031896ec83ca5 (patch)
tree89a415f6879fb49c306f6452042848ecfd77f292 /src/game/g_active.c
parentcdc4e962f407596fe76b615d9e0f19f15a7d6c0e (diff)
* bring back camper credits
- they are now awarded regardless of deaths - use a cvar (g_freeKillPeriod) instead of a #define as the interval
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r--src/game/g_active.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c
index 30171f53..097370d2 100644
--- a/src/game/g_active.c
+++ b/src/game/g_active.c
@@ -1749,7 +1749,7 @@ void ClientThink_real( gentity_t *ent )
client->ps.persistant[ PERS_BP ] = 0;
// Give clients some credit periodically
- if( ent->client->lastKillTime + FREEKILL_PERIOD < level.time )
+ if( ent->client->lastKillTime + g_freeKillPeriod.integer < level.time )
{
if( G_TimeTilSuddenDeath( ) <= 0 )
{