Update StrategySystem.cpp
This commit is contained in:
1 parent
1fa74120dd
commit
fba45d0d2b
1 file changed
+5
-5
+5
-5
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user