mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 17:21:24 +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