summaryrefslogtreecommitdiff
path: root/src/game/g_weapon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_weapon.c')
-rw-r--r--src/game/g_weapon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index 2c24c58c..850ccd72 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -575,7 +575,7 @@ void cancelBuildFire( gentity_t *ent )
( traceEnt->biteam == ent->client->ps.stats[ STAT_PTEAM ] ) &&
( ( ent->client->ps.weapon >= WP_HBUILD2 ) &&
( ent->client->ps.weapon <= WP_HBUILD ) ) &&
- traceEnt->spawned )
+ traceEnt->spawned && traceEnt->health > 0 )
{
if( ent->client->ps.stats[ STAT_MISC ] > 0 )
{