When about to hit a new floor, don't change the direction of the actor if STOPIFBLOCKED is up.

This commit is contained in:
MajorCooke 2016-02-09 23:16:15 -06:00
parent ebe6cef7cc
commit e73a737350

View file

@ -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);
}
}