From 4eee1c7af194088ef45728473da14af5fc649dfc Mon Sep 17 00:00:00 2001 From: MajorCooke Date: Fri, 25 Mar 2016 16:17:28 -0500 Subject: [PATCH] Fixed: A_FaceMovementDirection was backwards. --- src/thingdef/thingdef_codeptr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thingdef/thingdef_codeptr.cpp b/src/thingdef/thingdef_codeptr.cpp index e403de07d6..e49d661c20 100644 --- a/src/thingdef/thingdef_codeptr.cpp +++ b/src/thingdef/thingdef_codeptr.cpp @@ -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)