Clouds cannot have engravings in them

... so delete the existing engraving if a cloud is put on the map.
This commit is contained in:
Pasi Kallinen
2023-11-09 18:07:56 +02:00
parent e783c82b84
commit 2e8adda028
3 changed files with 4 additions and 0 deletions

View File

@@ -3384,6 +3384,7 @@ wizterrainwish(struct _readobjnam_data *d)
lev->typ = CLOUD;
lev->flags = 0;
pline("A cloud.");
del_engr_at(x, y);
madeterrain = TRUE;
} else if (!BSTRCMPI(bp, p - 4, "door")
|| (d->doorless && !BSTRCMPI(bp, p - 7, "doorway"))) {