mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-21 09:01:37 +00:00
Use fromDeg for angle of 0.
This commit is contained in:
parent
e62651e3cf
commit
631eb5847b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue