mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +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
|
@ -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--;
|
||||||
|
|
Loading…
Reference in a new issue