Don't use InPlayerFOV for anything that affects gameplay

This commit is contained in:
Mari the Deer 2025-06-03 23:13:06 +02:00
commit 8a04ef9074
3 changed files with 7 additions and 3 deletions

View file

@ -393,6 +393,7 @@ extend Class SWWMUtility
return true, ov0, ov1;
}
// this check is dependent on the screen aspect ratio, so use only for non-interactive effects
static play bool InPlayerFOV( PlayerInfo p, Actor a, double maxdist = 0. )
{
double vfov = p.fov*.5;