diff --git a/StrategySystem.cpp b/StrategySystem.cpp index b118792..438b1d0 100644 --- a/StrategySystem.cpp +++ b/StrategySystem.cpp @@ -2410,7 +2410,7 @@ void CStrategySystem::Goalie() { static int xit; if (ball.oldPosition.x < hgoalie.position.x && ball.position.x < hgoalie.position.x) { - int xix = ball.position.x >= 730 && (ball.position.y <= 313 || ball.position.y >= 505) || ball.position.x >= 873 && abs(ball.position.y - ball.oldPosition.y) > 10 || ball.position.x >= 940 ? 965 : 950; + int xix = ball.position.x >= 730 && ((ball.position.y <= 313 || ball.position.y >= 505) || abs(ball.position.y - ball.oldPosition.y) > 2) || ball.position.x >= 940 ? 965 : 950; int xiy = 409; if (ball.position.x >= 600) { @@ -2435,26 +2435,26 @@ void CStrategySystem::Goalie() { xiy = ball.position.y; if ((xit / 4) % 2) - xiy += 20; + xiy += 30; else - xiy -= 20; + xiy -= 30; } } else { xiy = 409; if ((xit / 4) % 2) - xiy += 20; + xiy += 30; else - xiy -= 20; + xiy -= 30; } } } else { if ((xit / 4) % 2) - xiy += 20; + xiy += 30; else - xiy -= 20; + xiy -= 30; } if (xiy < 316)