Moved the P_Move back inside to where it was beforehand.

This commit is contained in:
MajorCooke 2016-01-27 10:47:36 -06:00
parent 6dcbc930d6
commit 7798eadb8b
1 changed files with 1 additions and 2 deletions

View File

@ -2499,8 +2499,6 @@ void A_DoChase (AActor *actor, bool fastchase, FState *meleestate, FState *missi
if (actor->strafecount) if (actor->strafecount)
actor->strafecount--; actor->strafecount--;
bool movecheck = P_Move(actor);
// class bosses don't do this when strafing // class bosses don't do this when strafing
if ((!fastchase || !actor->FastChaseStrafeCount) && !dontmove) 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(); fixed_t oldY = actor->Y();
FTextureID oldFloor = actor->floorpic; FTextureID oldFloor = actor->floorpic;
bool movecheck = P_Move(actor);
// chase towards player // chase towards player
if (actor->movecount >= 0) if (actor->movecount >= 0)
actor->movecount--; actor->movecount--;