Fixed missing movecount decrement with blocked actors.

This commit is contained in:
MajorCooke 2016-01-27 10:51:51 -06:00
parent 7798eadb8b
commit f6b3b269a7

View file

@ -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))
{