Fixed explosions ignoring walls
This commit is contained in:
parent
f88ca6a6ee
commit
b10e11de70
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ simulated function ServerExplode
|
|||
local Vector hitLocation;
|
||||
local float scale1, scale2;
|
||||
if(Role < ROLE_Authority) return;
|
||||
foreach CollidingActors(class'Actor', victim, explRadius, explLocation){
|
||||
foreach VisibleActors(class'Actor', victim, explRadius, explLocation){
|
||||
if(victim == none || victim == self) continue;
|
||||
if(victim.role < ROLE_Authority) continue;
|
||||
if(ExtendedZCollision(victim) != none) continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue