Fix des.room doors

Fix special level des.room shop doors broken by my recent commit.
Mark the shopdoor error as impossible, so the fuzzer stops there.
This commit is contained in:
Pasi Kallinen
2021-07-09 20:31:47 +03:00
parent 50b22449d1
commit 2261f998a6
2 changed files with 2 additions and 1 deletions

View File

@@ -613,7 +613,7 @@ shkinit(const struct shclass* shp, struct mkroom* sroom)
if (wizard) {
register int j = sroom->doorct;
pline("Where is shopdoor?");
impossible("Where is shopdoor?");
pline("Room at (%d,%d),(%d,%d).", sroom->lx, sroom->ly, sroom->hx,
sroom->hy);
pline("doormax=%d doorct=%d fdoor=%d", g.doorindex, sroom->doorct,

View File

@@ -3784,6 +3784,7 @@ lspo_room(lua_State *L)
} else
lua_pop(L, 1);
spo_endroom(g.coder);
add_doors_to_room(tmpcr);
return 0;
}
if (g.in_mk_themerooms)