diff options
author | IronClawTrem <louie.nutman@gmail.com> | 2019-08-27 01:15:15 +0100 |
---|---|---|
committer | IronClawTrem <louie.nutman@gmail.com> | 2019-08-27 01:19:50 +0100 |
commit | 1c970daca1c62539325df935b7afce0ecc08823b (patch) | |
tree | 3dd1bed6ba84a98d5280f67e50fb405385c45749 /src/game/g_combat.c | |
parent | def759fd4110b4f58ea54f3024fec5bf9112b4c2 (diff) |
Implement g_gradualFreeFunds to improve time funds mechanic
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r-- | src/game/g_combat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c index 569a613..091040e 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -275,7 +275,8 @@ void player_die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int { AddScore( attacker, 1 ); - attacker->client->lastKillTime = level.time; + if( g_gradualFreeFunds.integer < 2 ) + attacker->client->pers.lastFreekillTime = level.time; attacker->client->pers.statscounters.kills++; if( attacker->client->pers.teamSelection == PTE_ALIENS ) { |