From c60908dce88434be260a07a804c8985c763ed7f8 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 19 Jan 2004 19:21:19 +0000 Subject: * 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 --- src/game/g_combat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/g_combat.c') 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 ) ); } } -- cgit