mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-01 00:21:35 +00:00
- fixed pitch comparison in visibility checking.
This commit is contained in:
parent
3862c77b4b
commit
3f17d64f90
1 changed files with 1 additions and 1 deletions
|
@ -1052,7 +1052,7 @@ bool AActor::IsInsideVisibleAngles() const
|
||||||
angleend = temp;
|
angleend = temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pitchstart > angleend)
|
if (pitchstart > pitchend)
|
||||||
{
|
{
|
||||||
DAngle temp = pitchstart;
|
DAngle temp = pitchstart;
|
||||||
pitchstart = pitchend;
|
pitchstart = pitchend;
|
||||||
|
|
Loading…
Reference in a new issue