- fixed pitch comparison in visibility checking.

This commit is contained in:
Christoph Oelckers 2016-09-24 09:42:35 +02:00
parent 3862c77b4b
commit 3f17d64f90

View file

@ -1052,7 +1052,7 @@ bool AActor::IsInsideVisibleAngles() const
angleend = temp;
}
if (pitchstart > angleend)
if (pitchstart > pitchend)
{
DAngle temp = pitchstart;
pitchstart = pitchend;