diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2009-10-03 12:34:48 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:05 +0000 |
commit | 8bb863e005db6faf45e545a16ed66d552366d55f (patch) | |
tree | 33fce052bb9c12b7473ac0a0d4b1391f448eabae | |
parent | 0e2ab7aa3b0ff0d598967ae38a016e312a0aa58b (diff) |
* Fix a slightly-broken if statement in CheckVenomAttack() (Byron Johnson)
-rw-r--r-- | src/game/g_weapon.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |