mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
When about to hit a new floor, don't change the direction of the actor if STOPIFBLOCKED is up.
This commit is contained in:
parent
ebe6cef7cc
commit
e73a737350
1 changed files with 2 additions and 1 deletions
|
@ -2533,7 +2533,8 @@ void A_DoChase (VMFrameStack *stack, AActor *actor, bool fastchase, FState *mele
|
|||
actor->PrevY = oldY;
|
||||
}
|
||||
}
|
||||
P_NewChaseDir(actor);
|
||||
if (!(flags & CHF_STOPIFBLOCKED))
|
||||
P_NewChaseDir(actor);
|
||||
}
|
||||
}
|
||||
else if (dontmove && actor->movecount > 0) actor->movecount--;
|
||||
|
|
Loading…
Reference in a new issue