diff options
author | Tim Angus <tim@ngus.net> | 2005-08-10 23:59:23 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2005-08-10 23:59:23 +0000 |
commit | 22b49c000708b8b88af8a34e3ede35d38eb1792e (patch) | |
tree | 5d4dbe623d68be1d6f0b0914bf74500a97ba14e4 /src | |
parent | c4450fa7212fb210590430e17962c686eba38e32 (diff) |
* Fixed a last minute bug that allowed evolution after death
Diffstat (limited to 'src')
-rw-r--r-- | src/game/bg_public.h | 2 | ||||
-rw-r--r-- | src/game/g_cmds.c | 3 |
2 files changed, 4 insertions, 1 deletions
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 ) ); |