1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-04-12 05:43:12 +00:00

rogueviz:: playing-with-impossibility: fixed crashes due to variation not set

This commit is contained in:
Zeno Rogue 2025-03-02 22:09:29 +01:00
parent 6075228e5b
commit 53c9700aa6

View File

@ -95,7 +95,7 @@ void nil_screen(presmode mode, int id) {
slide_backup(pconf.clip_min);
slide_backup(pconf.clip_max);
slide_backup(vid.cells_drawn_limit);
stop_game(), pmodel = mdHorocyclic, geometry = gCubeTiling, pconf.clip_min = -10000, pconf.clip_max = +100, start_game();
stop_game(), pmodel = mdHorocyclic, geometry = gCubeTiling, variation = eVariation::pure, pconf.clip_min = -10000, pconf.clip_max = +100, start_game();
}
add_stat(mode, [id] {
cmode |= sm::SIDE;
@ -272,8 +272,6 @@ void nil_screen(presmode mode, int id) {
dialog_may_latex(dirbox("D:") + cbox("(x,y,z+d)"), "D: (x,y,z+d)");
dialog::display();
dynamicval<eGeometry> gg(geometry, gNil);
return false;
});
}
@ -291,7 +289,7 @@ void geodesic_screen(presmode mode, int id) {
slide_backup(pconf.clip_min);
slide_backup(pconf.clip_max);
slide_backup(vid.cells_drawn_limit);
stop_game(), pmodel = mdHorocyclic, geometry = gCubeTiling, pconf.clip_min = -10000, pconf.clip_max = +100, start_game();
stop_game(), pmodel = mdHorocyclic, geometry = gCubeTiling, variation = eVariation::pure, pconf.clip_min = -10000, pconf.clip_max = +100, start_game();
}
add_stat(mode, [id] {