Update StrategySystem.cpp

This commit is contained in:
Xi Xu committed 2023-11-21 21:08:36 +08:00
1 parent 68f0e7e683
commit 77fdbe70e1
1 file changed
+1 -1
+1 -1
View File
@@ -1358,7 +1358,7 @@ int CStrategySystem::search1() // 查找在大区里的机器人
int CStrategySystem::search2() // 查找在小区里的机器人
{
int sum;
int sum = 0;
if (home1.position.x >= 65 && home1.position.x < 105 && home1.position.y >= 247 && home1.position.y <= 577)
sum++;
if (home2.position.x >= 65 && home2.position.x < 105 && home2.position.y >= 247 && home2.position.y <= 577)