- SW: fixed negated FAFcansee call in explosion code.

This commit is contained in:
Christoph Oelckers 2022-01-01 17:14:49 +01:00
parent 27eae52228
commit 1294f10cd7

View file

@ -7280,7 +7280,7 @@ int DoExpDamageTest(DSWActor* actor)
if ((unsigned)dist > actor->user.Radius)
continue;
if (FAFcansee(itActor, ActorZOfMiddle(itActor), actor, actor->spr.pos.Z))
if (!FAFcansee(itActor, ActorZOfMiddle(itActor), actor, actor->spr.pos.Z))
continue;
if ((itActor->spr.extra & SPRX_BREAKABLE))