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 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 ) )