- fixed calculations in AdjusrPlayerAngle.

This commit is contained in:
Christoph Oelckers 2017-02-04 16:44:43 +01:00
parent ec15c7f4c3
commit d662cece15

View file

@ -40,7 +40,7 @@ extend class Actor
void AdjustPlayerAngle(FTranslatedLineTarget t)
{
double difference = t.angleFromSource;
double difference = deltaangle(angle, t.angleFromSource);
if (abs(difference) > MAX_ANGLE_ADJUST)
{
if (difference > 0)