mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 10:20:32 +00:00
fixed relative_matrix_recursive in some geoms
This commit is contained in:
parent
67a77befb9
commit
99f4b8698b
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user