From e3325a76e8a54e22c3b7541fc6ce6724de7ca1b5 Mon Sep 17 00:00:00 2001 From: youbetterdont Date: Fri, 13 Mar 2020 06:44:53 -0700 Subject: [PATCH] Require CONTINUE to be used to continue processing map commands. This makes the map commands behave identically to the name commands. --- BH/Modules/Maphack/Maphack.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/BH/Modules/Maphack/Maphack.cpp b/BH/Modules/Maphack/Maphack.cpp index 6e6ab1da..cac7c7ca 100644 --- a/BH/Modules/Maphack/Maphack.cpp +++ b/BH/Modules/Maphack/Maphack.cpp @@ -537,6 +537,7 @@ void Maphack::OnAutomapDraw() { Drawing::Linehook::Draw(MyPos.x, MyPos.y, automapLoc.x, automapLoc.y, lineColor); } }); + if ((*it)->action.stopProcessing) break; } } }