TempleOS V5.03 Nightly (ISO SHA-1 aed1efc)
This commit is contained in:
1 parent
bbd014d8e9
commit
da84afbaf7
124 files changed
+3453
-3407
No files matched your search
@@ -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