更新 StrategySystem.cpp

This commit is contained in:
dewfewg committed 2023-10-28 22:46:33 +08:00
1 parent 18c0b8e266
commit 7fc33e4a99
1 file changed
+1 -1
+1 -1
View File
@@ -45,7 +45,7 @@ void CStrategySystem::Shot(int which) {
CPoint t1, t2, t3;
t1.x = ball.position.x;
t1.y = ball.position.y;
Position(10, t1); // 机器人到足够近的点
Direction(10, t1); // 机器人到足够近的点
t2.x = robot->position.x;
t2.y = robot->position.y;
if (Distance(t1, t2) == 1)