Update to latest TOS distro
This commit is contained in:
1 parent
7e46072c81
commit
70ff1e2f75
142 files changed
+6403
-9909
No files matched your search
Binary file not shown.
@@ -262,7 +262,7 @@ ti_restart:
|
||||
for (j=0;j<UNITS_NUM/2;j++) {
|
||||
if (i!=j) {
|
||||
dd=SqrI64(u[i].x-u[j].x)+SqrI64(u[i].y-u[j].y);
|
||||
if (u[j].x<=u[i].x && dd<best_dd) {
|
||||
if ((u[j].x<u[i].x || u[j].king) && dd<best_dd ) {
|
||||
best_dd=dd;
|
||||
best=j;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user