1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-10 22:36:02 +00:00

rogueviz:: slide_error used

This commit is contained in:
Zeno Rogue
2021-03-31 12:19:11 +02:00
parent 367ff6f035
commit 4af75fe611
2 changed files with 7 additions and 8 deletions

View File

@@ -373,13 +373,7 @@ void brick_slide(int i, presmode mode, eGeometry geom, eModel md, int anim) {
void ply_slide(tour::presmode mode, eGeometry geom, eModel md, bool anim) {
using namespace tour;
if(!ply::staircase.available()) {
empty_screen(mode, 0x400000);
add_stat(mode, [] {
dialog::init();
dialog::addTitle("(model not available)", 0xFF0000, 150);
dialog::display();
return true;
});
slide_error(mode, "(model not available)");
return;
}
if(mode == pmStartAll) {