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)