summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-05-14 17:39:21 +0200
committerPaweł Redman <pawel.redman@gmail.com>2017-05-14 17:39:21 +0200
commitcc9919c8c83425b3ea9e65f9e5bd2cd90af4f003 (patch)
tree7fd46e1bdf657d78a89e0741bd1193795dea67d3 /src/game
parentac3129088270225cc2e32b5bf38639f03513e1b3 (diff)
Fix Basilisk gas hitting through walls.
Diffstat (limited to 'src/game')
-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 ab2a5d3..c4909be 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -1038,7 +1038,7 @@ void poisonCloud( gentity_t *ent )
trap_Trace( &tr, muzzle, NULL, NULL, humanPlayer->s.origin, humanPlayer->s.number, MASK_SHOT );
//can't see target from here
- if( tr.entityNum == ENTITYNUM_WORLD )
+ if( tr.entityNum != entityList[ i ] )
continue;
if( !( humanPlayer->client->ps.stats[ STAT_STATE ] & SS_POISONCLOUDED ) )