summaryrefslogtreecommitdiff
path: root/src/game/g_combat.c
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-04-13 11:30:00 +0000
committer/dev/humancontroller <devhc@example.com>2017-04-15 17:24:20 +0200
commit90094e0e71e05b155a6a1edb1835607e1202a8bc (patch)
tree166fded6a2a5ddb99eeff239efa5379679c28679 /src/game/g_combat.c
parentecdfd00b5bff42afacd4f5267bdef9ae61bfc154 (diff)
Improve g_gradualFreeFunds.
g_gradualFreeFunds values: 0 - disabled 1 - vanilla behavior 2 - 1 and counters don't reset on death or evolution 3 - 2 and funds are given even during SD
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r--src/game/g_combat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c
index 4cf2722..c781959 100644
--- a/src/game/g_combat.c
+++ b/src/game/g_combat.c
@@ -288,7 +288,7 @@ void player_die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int
{
AddScore( attacker, 1 );
- if( !g_gradualFreeFunds.integer )
+ if( g_gradualFreeFunds.integer < 2 )
attacker->client->pers.lastFreekillTime = level.time;
attacker->client->pers.statscounters.kills++;
attacker->client->pers.karma += 50;