summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r--src/game/g_buildable.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index cb35b4c6..01fdcdb8 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -330,6 +330,8 @@ qboolean hdef1_checktarget(gentity_t *self, gentity_t *target)
return qfalse;
if( target->client->sess.sessionTeam == TEAM_SPECTATOR ) // is the target alive?
return qfalse;
+ if( target->client->ps.stats[ STAT_STATE ] & SS_INFESTING ) // is the target alive?
+ return qfalse;
if( target->health <= 0 ) // is the target still alive?
return qfalse;