mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-30 15:52:09 +00:00
Merge branch 'master' of https://github.com/rheit/zdoom
This commit is contained in:
commit
f021d13ead
1 changed files with 3 additions and 1 deletions
|
@ -4501,7 +4501,9 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_JumpIfTargetInLOS)
|
||||||
else { target = viewport; viewport = self; }
|
else { target = viewport; viewport = self; }
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fov > 0 && (fov < 360.))
|
fov = MIN(fov, 360.);
|
||||||
|
|
||||||
|
if (fov > 0)
|
||||||
{
|
{
|
||||||
DAngle an = absangle(viewport->AngleTo(target), viewport->Angles.Yaw);
|
DAngle an = absangle(viewport->AngleTo(target), viewport->Angles.Yaw);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue