Fixed explosions ignoring walls
This commit is contained in:
parent
f88ca6a6ee
commit
b10e11de70
@ -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…
Reference in New Issue
Block a user