mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +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;
|
maxdist = params->maxDist;
|
||||||
mindist = params->minDist;
|
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
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue