Allow wizmode wishing for cloud terrain

This commit is contained in:
Pasi Kallinen
2020-01-26 14:05:11 +02:00
parent 206e9668f1
commit ae843bc10a
2 changed files with 6 additions and 2 deletions

View File

@@ -3046,6 +3046,10 @@ int locked, trapped;
lev->typ = IRONBARS;
pline("Iron bars.");
madeterrain = TRUE;
} else if (!BSTRCMPI(bp, p - 5, "cloud")) {
lev->typ = CLOUD;
pline("A cloud.");
madeterrain = TRUE;
} else if (!BSTRCMPI(bp, p - 11, "secret door")) {
if (lev->typ == DOOR
|| (IS_WALL(lev->typ) && lev->typ != DBWALL)) {