summaryrefslogtreecommitdiff
path: root/src/game/g_combat.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2004-01-19 19:21:19 +0000
committerTim Angus <tim@ngus.net>2004-01-19 19:21:19 +0000
commitc60908dce88434be260a07a804c8985c763ed7f8 (patch)
tree125a0d624146b8ec34033fa2b0a44b17012b5a34 /src/game/g_combat.c
parent73d22e1004003af65b2e1adba19649bb9933a42e (diff)
* Forced a weapon change when buying a weapon
* Implemented dynamic stage boundaries * A shedload of balance tweaks * Inevitably other stuff that I've forgotten whilst SF CVS has been down
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r--src/game/g_combat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c
index ad247227..265ee182 100644
--- a/src/game/g_combat.c
+++ b/src/game/g_combat.c
@@ -224,9 +224,9 @@ void player_die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int
attacker->client->lastKillTime = level.time;
if( attacker->client->ps.stats[ STAT_PTEAM ] == PTE_ALIENS )
- level.alienKills++;
+ trap_Cvar_Set( "g_alienKills", va( "%d", g_alienKills.integer + 1 ) );
else if( attacker->client->ps.stats[ STAT_PTEAM ] == PTE_HUMANS )
- level.humanKills++;
+ trap_Cvar_Set( "g_humanKills", va( "%d", g_humanKills.integer + 1 ) );
}
}