- fixed: A_Saw was using the wrong angle for adjusting the facing direction at the end.

This commit is contained in:
Christoph Oelckers 2016-12-04 10:45:20 +01:00
parent 18b953dd50
commit ebdc672985

View file

@ -148,14 +148,14 @@ extend class StateProvider
if (anglediff < 0.0)
{
if (anglediff < -4.5)
angle = ang + 90.0 / 21;
angle = t.angleFromSource + 90.0 / 21;
else
angle -= 4.5;
}
else
{
if (anglediff > 4.5)
angle = ang - 90.0 / 21;
angle = t.angleFromSource - 90.0 / 21;
else
angle += 4.5;
}