1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-09 15:39:55 +00:00

twist:: select_quotient in mtwisted nil now correctly shows the twisted quotient selector, not the nil one

This commit is contained in:
Zeno Rogue 2024-06-21 13:44:30 +02:00
parent 06ca86cbc5
commit 8a782d1e3a
2 changed files with 7 additions and 2 deletions

View File

@ -617,7 +617,7 @@ EX void select_quotient() {
euc::prepare_torus3(); euc::prepare_torus3();
pushScreen(euc::show_torus3); pushScreen(euc::show_torus3);
} }
else if(nil) { else if(nil && !mhybrid) {
nilv::prepare_niltorus3(), nilv::prepare_niltorus3(),
pushScreen(nilv::show_niltorus3); pushScreen(nilv::show_niltorus3);
} }

View File

@ -1462,7 +1462,12 @@ EX namespace hybrid {
if(debugflags & DF_GEOM) for(cell *c: ac) for(int i=0; i<c->type; i++) { if(debugflags & DF_GEOM) for(cell *c: ac) for(int i=0; i<c->type; i++) {
cellwalker cw(c, i); cellwalker cw(c, i);
if(cycle_discrepancy(cw)) println(hlog, cw, cycle_discrepancy(cw)); if(cycle_discrepancy(cw)) println(hlog, cw, " ", cycle_discrepancy(cw));
}
if(debugflags & DF_GEOM) for(cell *c: ac) for(int i=0; i<c->type; i++) {
auto err = get_shift(cellwalker(c, i)) + get_shift(cellwalker(c, i)+wstep);
if(err)
println(hlog, "two-side error: ", err, " on ", cellwalker(c, i));
} }
}); });
} }