summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/bg_public.h2
-rw-r--r--src/game/g_cmds.c3
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 ) );