mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-12 07:34:50 +00:00
Moved the P_Move back inside to where it was beforehand.
This commit is contained in:
parent
6dcbc930d6
commit
7798eadb8b
1 changed files with 1 additions and 2 deletions
|
@ -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--;
|
||||
|
|
Loading…
Reference in a new issue