fixed relative_matrix_recursive in some geoms

This commit is contained in:
Zeno Rogue 2023-10-05 13:55:12 +02:00
parent 67a77befb9
commit 99f4b8698b
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ EX transmatrix relative_matrix_recursive(heptagon *h2, heptagon *h1) {
} }
else { else {
for(int i=0; i<h2->type; i++) if(h2->move(i) && h2->move(i)->distance < h2->distance) { for(int i=0; i<h2->type; i++) if(h2->move(i) && h2->move(i)->distance < h2->distance) {
where = currentmap->iadj(h2, 0) * where; where = currentmap->iadj(h2, i) * where;
h2 = h2->move(i); h2 = h2->move(i);
goto again; goto again;
} }