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:
+1
-1
@@ -613,7 +613,7 @@ shkinit(const struct shclass* shp, struct mkroom* sroom)
|
|||||||
if (wizard) {
|
if (wizard) {
|
||||||
register int j = sroom->doorct;
|
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,
|
pline("Room at (%d,%d),(%d,%d).", sroom->lx, sroom->ly, sroom->hx,
|
||||||
sroom->hy);
|
sroom->hy);
|
||||||
pline("doormax=%d doorct=%d fdoor=%d", g.doorindex, sroom->doorct,
|
pline("doormax=%d doorct=%d fdoor=%d", g.doorindex, sroom->doorct,
|
||||||
|
|||||||
@@ -3784,6 +3784,7 @@ lspo_room(lua_State *L)
|
|||||||
} else
|
} else
|
||||||
lua_pop(L, 1);
|
lua_pop(L, 1);
|
||||||
spo_endroom(g.coder);
|
spo_endroom(g.coder);
|
||||||
|
add_doors_to_room(tmpcr);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (g.in_mk_themerooms)
|
if (g.in_mk_themerooms)
|
||||||
|
|||||||
Reference in New Issue
Block a user