1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-05 21:33:58 +00:00

fix make_portal for binary portals on non-Euclidean sides

This commit is contained in:
Zeno Rogue 2024-11-07 22:24:17 +01:00
parent 7ccca5cfcb
commit 91ffde2bcc

View File

@ -167,7 +167,7 @@ EX portal_data make_portal(cellwalker cw, int spin) {
if(cw.spin == cw.at->type - 2) if(cw.spin == cw.at->type - 2)
fac.pop_back(); fac.pop_back();
else else
fac.erase(fac.begin() + 1); fac.erase(fac.begin());
id.scale = log(2)/2; id.scale = log(2)/2;
} }
#else #else