couple of formatting bits

This commit is contained in:
PatR
2025-04-20 17:18:49 -07:00
parent 617b7588cc
commit 9f04269ec4
2 changed files with 6 additions and 4 deletions

View File

@@ -773,9 +773,9 @@ makeniche(int trap_type)
dosdoor(xx, yy, aroom, SDOOR);
} else {
rm->typ = CORR;
if (rn2(7))
if (rn2(7)) {
dosdoor(xx, yy, aroom, rn2(5) ? SDOOR : DOOR);
else {
} else {
/* inaccessible niches occasionally have iron bars */
if (!rn2(5) && IS_WALL(levl[xx][yy].typ)) {
(void) set_levltyp(xx, yy, IRONBARS);