Fixed: A_FaceMovementDirection was backwards.

This commit is contained in:
MajorCooke 2016-03-25 16:17:28 -05:00 committed by Christoph Oelckers
parent 228c447a02
commit 4eee1c7af1

View file

@ -6724,7 +6724,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_FaceMovementDirection)
//Code borrowed from A_Face*.
if (anglelimit > 0)
{
DAngle delta = deltaangle(current, angle);
DAngle delta = -deltaangle(current, angle);
if (fabs(delta) > anglelimit)
{
if (delta < 0)