summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2017-04-13 11:30:00 +0000
committer/dev/humancontroller <devhc@example.com>2017-04-15 17:24:19 +0200
commit7a457137d2f859c91c2b3d52a6c677427b6a95de (patch)
treedf9c3cc5ba481881884108ec40375fe758803f61 /src
parent25ca8e96ebb8fb4f6d656f03d83c90d4ebf42291 (diff)
allow dretches to bite surfaces other than players and buildables
Diffstat (limited to 'src')
-rw-r--r--src/game/g_weapon.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index 3240df1..82bad26 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -913,9 +913,6 @@ qboolean CheckVenomAttack( gentity_t *ent )
if( !traceEnt->takedamage )
return qfalse;
- if( !traceEnt->client && !traceEnt->s.eType == ET_BUILDABLE )
- return qfalse;
-
//allow bites to work against defensive buildables only
if( traceEnt->s.eType == ET_BUILDABLE )
{