Update StrategySystem.cpp

This commit is contained in:
xixu-me committed 2023-12-03 16:08:34 +08:00
1 parent 1fa74120dd
commit fba45d0d2b
1 file changed
+5 -5
+5 -5
View File
@@ -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)