From 22b49c000708b8b88af8a34e3ede35d38eb1792e Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 10 Aug 2005 23:59:23 +0000 Subject: * Fixed a last minute bug that allowed evolution after death --- src/game/bg_public.h | 2 +- src/game/g_cmds.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/bg_public.h b/src/game/bg_public.h index ee2cb067..c2b3805f 100644 --- a/src/game/bg_public.h +++ b/src/game/bg_public.h @@ -20,7 +20,7 @@ // because games can change separately from the main system version, we need a // second version that must match between game and cgame -#define GAME_VERSION "baseq3-1" +#define GAME_VERSION "tremulous" #define DEFAULT_GRAVITY 800 diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 5199bd66..cc5b49c2 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -1125,6 +1125,9 @@ void Cmd_Class_f( gentity_t *ent ) int num; gentity_t *other; + if( ent->client->ps.stats[ STAT_HEALTH ] <= 0 ) + return; + clientNum = ent->client - level.clients; trap_Argv( 1, s, sizeof( s ) ); -- cgit