diff options
Diffstat (limited to 'src/game/g_weapon.c')
-rw-r--r-- | src/game/g_weapon.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c index 1edb5ccf..13648267 100644 --- a/src/game/g_weapon.c +++ b/src/game/g_weapon.c @@ -920,6 +920,9 @@ qboolean CheckVenomAttack( gentity_t *ent ) if( !traceEnt->takedamage ) return qfalse; + if( traceEnt->health <= 0 ) + return qfalse; + if( !traceEnt->client && !traceEnt->s.eType == ET_BUILDABLE ) return qfalse; |