mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
rogueviz:: in impossible structures, shapes disappeared due to a bug
This commit is contained in:
parent
6880dfc96b
commit
54bb5d5c5c
@ -312,7 +312,9 @@ auto hchook = addHook(hooks_drawcell, 100, draw_ptriangle)
|
||||
tour::slide_backup(mapeditor::drawplayer, false);
|
||||
tour::slide_backup(on, true);
|
||||
tour::slide_backup(smooth_scrolling, true);
|
||||
tour::on_restore(nilv::set_flags);
|
||||
tour::slide_backup(nilv::nilperiod, make_array(3, 3, 3));
|
||||
nilv::set_flags();
|
||||
start_game();
|
||||
playermoved = false;
|
||||
}
|
||||
|
@ -508,6 +508,7 @@ void slide_itri(tour::presmode mode, int id) {
|
||||
tour::slide_backup(on, true);
|
||||
tour::slide_backup(net, id == 2 ? true : false);
|
||||
tour::slide_backup(smooth_scrolling, true);
|
||||
tour::on_restore(nilv::set_flags);
|
||||
if(id == 0)
|
||||
tour::slide_backup(nilv::nilperiod, make_array(3, 3, 3));
|
||||
if(id == 1) {
|
||||
@ -517,7 +518,8 @@ void slide_itri(tour::presmode mode, int id) {
|
||||
tour::slide_backup(how1, 31);
|
||||
tour::slide_backup(isteps, 992);
|
||||
}
|
||||
/* do nothing for id == 2 */
|
||||
nilv::set_flags();
|
||||
/* do nothing for id == 2 */
|
||||
start_game();
|
||||
playermoved = false;
|
||||
tour::on_restore(reset);
|
||||
|
Loading…
Reference in New Issue
Block a user