- fixed incorrect argument in FAFcansee call.

This commit is contained in:
Christoph Oelckers 2022-01-01 17:11:15 +01:00
parent 3499049976
commit 27eae52228

View file

@ -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;