From 8bb863e005db6faf45e545a16ed66d552366d55f Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Sat, 3 Oct 2009 12:34:48 +0000 Subject: * Fix a slightly-broken if statement in CheckVenomAttack() (Byron Johnson) --- src/game/g_weapon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c index d71de3dd..5ef638a5 100644 --- a/src/game/g_weapon.c +++ b/src/game/g_weapon.c @@ -934,7 +934,7 @@ qboolean CheckVenomAttack( gentity_t *ent ) if( traceEnt->health <= 0 ) return qfalse; - if( !traceEnt->client && !traceEnt->s.eType == ET_BUILDABLE ) + if( !traceEnt->client && !( traceEnt->s.eType == ET_BUILDABLE ) ) return qfalse; // only allow bites to work against buildings as they are constructing -- cgit