mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-17 01:32:19 +00:00
Fixed missing movecount decrement with blocked actors.
This commit is contained in:
parent
7798eadb8b
commit
f6b3b269a7
1 changed files with 1 additions and 1 deletions
|
@ -2509,7 +2509,7 @@ void A_DoChase (AActor *actor, bool fastchase, FState *meleestate, FState *missi
|
|||
|
||||
bool movecheck = P_Move(actor);
|
||||
// chase towards player
|
||||
if (actor->movecount >= 0)
|
||||
if (actor->movecount >= 0 || !movecheck)
|
||||
actor->movecount--;
|
||||
if (!(flags & CHF_STOPIFBLOCKED))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue