mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +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,6 +2533,7 @@ void A_DoChase (VMFrameStack *stack, AActor *actor, bool fastchase, FState *mele
|
|||
actor->PrevY = oldY;
|
||||
}
|
||||
}
|
||||
if (!(flags & CHF_STOPIFBLOCKED))
|
||||
P_NewChaseDir(actor);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue