fixed iddspin

This commit is contained in:
Zeno Rogue 2019-11-14 19:23:27 +01:00
parent 1f9501f746
commit 8a2e9b7a73
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ struct hrmap {
virtual transmatrix spin_from(cell *c, int d, ld bonus=0) {
ld sa = spin_angle(c, d);
if(sa != SPIN_NOT_AVAILABLE) { return spin(bonus - sa); }
transmatrix T = spintox(tC0(iadj(c, d)));
transmatrix T = spintox(tC0(adj(c, d)));
if(WDIM == 3) return T * cspin(2, 0, bonus);
return T * spin(bonus);
}