Update StrategySystem.cpp

This commit is contained in:
xixu-me committed 2023-12-01 19:11:07 +08:00
1 parent 464babaa3a
commit 85d31bdbb2
1 file changed
+4 -4
+4 -4
View File
@@ -2436,10 +2436,10 @@ void CStrategySystem::Goalie() {
// else
// gy -= 30;
if (ball.position.y < 318)
gy = 318;
else if (ball.position.y > 500)
gy = 500;
if (ball.position.y < 315)
gy = 315;
else if (ball.position.y > 503)
gy = 503;
Direction(HGOALIE, CPoint(gx, gy));
}