From 7798eadb8b52357cf8119015c91a5ac2b2fd1989 Mon Sep 17 00:00:00 2001 From: MajorCooke Date: Wed, 27 Jan 2016 10:47:36 -0600 Subject: [PATCH] Moved the P_Move back inside to where it was beforehand. --- src/p_enemy.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/p_enemy.cpp b/src/p_enemy.cpp index 37ff5cfaf..4c01796d5 100644 --- a/src/p_enemy.cpp +++ b/src/p_enemy.cpp @@ -2498,8 +2498,6 @@ void A_DoChase (AActor *actor, bool fastchase, FState *meleestate, FState *missi if (actor->strafecount) actor->strafecount--; - - bool movecheck = P_Move(actor); // class bosses don't do this when strafing if ((!fastchase || !actor->FastChaseStrafeCount) && !dontmove) @@ -2509,6 +2507,7 @@ void A_DoChase (AActor *actor, bool fastchase, FState *meleestate, FState *missi fixed_t oldY = actor->Y(); FTextureID oldFloor = actor->floorpic; + bool movecheck = P_Move(actor); // chase towards player if (actor->movecount >= 0) actor->movecount--;