From cc9919c8c83425b3ea9e65f9e5bd2cd90af4f003 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sun, 14 May 2017 17:39:21 +0200 Subject: Fix Basilisk gas hitting through walls. --- 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 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 ) ) -- cgit