From 4682b7172ea44f1a481cb0e72bde1ebb3ab31a5a Mon Sep 17 00:00:00 2001 From: Major Cooke Date: Wed, 13 Mar 2024 10:49:53 -0500 Subject: [PATCH] Fixed typo --- src/playsim/p_enemy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playsim/p_enemy.cpp b/src/playsim/p_enemy.cpp index aa2b40b994a..722b5c602eb 100644 --- a/src/playsim/p_enemy.cpp +++ b/src/playsim/p_enemy.cpp @@ -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));