Use fromDeg for angle of 0.

This commit is contained in:
Ru5tK1ng 2024-03-04 22:04:49 -06:00 committed by Christoph Oelckers
parent e62651e3cf
commit 631eb5847b
1 changed files with 1 additions and 1 deletions

View File

@ -1271,7 +1271,7 @@ int P_IsVisible(AActor *lookee, AActor *other, INTBOOL allaround, FLookExParams
{
maxdist = params->maxDist;
mindist = params->minDist;
fov = allaround ? 0 : params->Fov; // [RK] Account for LOOKALLAROUND flag.
fov = allaround ? DAngle::fromDeg(0.) : params->Fov; // [RK] Account for LOOKALLAROUND flag.
}
else
{