From fba45d0d2b458c73056c1728ae535b761cc822e2 Mon Sep 17 00:00:00 2001 From: Xi Xu Date: Sun, 3 Dec 2023 16:08:34 +0800 Subject: [PATCH] Update StrategySystem.cpp --- StrategySystem.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/StrategySystem.cpp b/StrategySystem.cpp index 45746b8..9c8673e 100644 --- a/StrategySystem.cpp +++ b/StrategySystem.cpp @@ -2418,11 +2418,11 @@ void CStrategySystem::Goalie() { } else { xiy = int((Distance(ball.position, CPoint(863, 313)) * 192 / (Distance(ball.position, CPoint(863, 313)) + Distance(ball.position, CPoint(863, 505)))) + 313.5); - if ((xit / 4) % 2) - xiy += 20; - else - xiy -= 20; -} + if ((xit / 4) % 2) + xiy += 20; + else + xiy -= 20; + } } else { if (xii < 333 || xii > 485)