1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-21 12:43:18 +00:00

fixed product : spin_to/spin_from

This commit is contained in:
Zeno Rogue 2019-11-14 19:24:54 +01:00
parent df4e700676
commit decd30164d

View File

@ -1038,8 +1038,8 @@ EX namespace hybrid {
for(auto& p: at) tailored_delete(p.second);
}
virtual transmatrix spin_to(cell *c, int d, ld bonus) { return in_underlying([&] { return currentmap->spin_to(c, d, bonus); }); }
virtual transmatrix spin_from(cell *c, int d, ld bonus) { return in_underlying([&] { return currentmap->spin_from(c, d, bonus); }); }
virtual transmatrix spin_to(cell *c, int d, ld bonus) { c = get_where(c).first; return in_underlying([&] { return currentmap->spin_to(c, d, bonus); }); }
virtual transmatrix spin_from(cell *c, int d, ld bonus) { c = get_where(c).first; return in_underlying([&] { return currentmap->spin_from(c, d, bonus); }); }
};