From 27eae52228f4ebd8540e64bf5278b7f92b1f5aac Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 1 Jan 2022 17:11:15 +0100 Subject: [PATCH] - fixed incorrect argument in FAFcansee call. --- source/games/sw/src/weapon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/sw/src/weapon.cpp b/source/games/sw/src/weapon.cpp index 3e932794f..ca4852941 100644 --- a/source/games/sw/src/weapon.cpp +++ b/source/games/sw/src/weapon.cpp @@ -8602,7 +8602,7 @@ int DoMineRangeTest(DSWActor* actor, int range) if (dist > range) continue; - if (FAFcansee(itActor, ActorUpperZ(itActor), actor, actor->spr.pos.Z)) + if (FAFcansee(itActor, ActorUpperZ(actor), actor, actor->spr.pos.Z)) continue; return true;