From 48d452bba1e9845d7935e03c520623f0b65a136d Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Thu, 21 Jul 2005 01:42:41 +0000 Subject: * Change death by dragoon obituary from "clawed" to "chomped" * Fixed the bug where spectators saw team chat * Added ping display to the lagometer * Renormalised some balance variables * Fixed the bug where bodies would sometimes disappear immediately after death * Fixed the "dancing buildables" bug * Fixed the bug where buildable animation sounds were inappropriately played upon entering PVS * Fixed a subtle stage bug * Added code to indicate which stage a team is on via the scoreboard --- src/game/g_team.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/g_team.c') diff --git a/src/game/g_team.c b/src/game/g_team.c index 538a29e2..9e0eb078 100644 --- a/src/game/g_team.c +++ b/src/game/g_team.c @@ -48,7 +48,7 @@ qboolean OnSameTeam( gentity_t *ent1, gentity_t *ent2 ) if( !ent1->client || !ent2->client ) return qfalse; - if( ent1->client->ps.stats[ STAT_PTEAM ] == ent2->client->ps.stats[ STAT_PTEAM ] ) + if( ent1->client->pers.teamSelection == ent2->client->pers.teamSelection ) return qtrue; return qfalse; -- cgit