- fixed compilation.

Forgot to save these before the last commit. :(
This commit is contained in:
Christoph Oelckers 2020-10-03 08:54:21 +02:00
commit 91406aa48b
2 changed files with 8 additions and 8 deletions

View file

@ -1000,10 +1000,10 @@ bool AActor::IsInsideVisibleAngles() const
if (p == nullptr || p->camera == nullptr)
return true;
DAngle anglestart = VisibleStartAngle;
DAngle angleend = VisibleEndAngle;
DAngle pitchstart = VisibleStartPitch;
DAngle pitchend = VisibleEndPitch;
DAngle anglestart = VisibleStartAngle.Degrees;
DAngle angleend = VisibleEndAngle.Degrees;
DAngle pitchstart = VisibleStartPitch.Degrees;
DAngle pitchend = VisibleEndPitch.Degrees;
if (anglestart > angleend)
{