From 17d0c330eec4eefd793e69791b9928ef6cd6b464 Mon Sep 17 00:00:00 2001 From: Xi Xu Date: Fri, 1 Dec 2023 13:42:31 +0800 Subject: [PATCH] Update StrategySystem.cpp --- StrategySystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StrategySystem.cpp b/StrategySystem.cpp index 2ea4f66..46a2b42 100644 --- a/StrategySystem.cpp +++ b/StrategySystem.cpp @@ -2409,7 +2409,7 @@ void CStrategySystem::Goalie() { int gx = ball.position.x >= 740 && (ball.position.y <= 313 || ball.position.y >= 505) || ball.position.x >= 940 ? 965 : 950; - if (ball.position.x >= 740 && (ball.position.y <= 313 && ball.position.y <= ball.oldPosition.y || ball.position.y >= 505 && ball.position.y >= ball.oldPosition.y) && ball.position.x <= ball.oldPosition.x) { + if (ball.position.x >= 740 && (ball.position.y <= 217 && ball.position.y <= ball.oldPosition.y || ball.position.y >= 607 && ball.position.y >= ball.oldPosition.y) && ball.position.x <= ball.oldPosition.x) { Direction(HGOALIE, CPoint(gx, 409)); } else {