Fixed typo

This commit is contained in:
Major Cooke 2024-03-13 10:49:53 -05:00 committed by Ricardo Luís Vaz Silva
parent f081ef1850
commit 4682b7172e

View file

@ -2747,7 +2747,7 @@ void A_DoChase (AActor *actor, bool fastchase, FState *meleestate, FState *missi
{
bool vrange = !!(actor->flags5 & MF5_NOVERTICALMELEERANGE);
actor->flags5 |= MF5_NOVERTICALMELEERANGE;
P_CheckMeleeRange(actor);
reached = P_CheckMeleeRange(actor);
if (!vrange) actor->flags5 &= ~(MF5_NOVERTICALMELEERANGE);
}
else reached = (P_CheckMeleeRange(actor));