From: Pasi Kallinen Date: Sat, 4 Feb 2023 17:39:25 +0000 (+0200) Subject: Ceiling hiders on lava pools X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9fd87db543fc3937bdd6fc7eaa2ca96db028222b;p=nethack Ceiling hiders on lava pools Lava pools are perfectly valid locations for ceiling hiders if they're hiding there - aka hanging from the ceiling. --- diff --git a/src/mon.c b/src/mon.c index 39e30fce7..5fc4dbd05 100644 --- a/src/mon.c +++ b/src/mon.c @@ -156,6 +156,7 @@ sanity_check_single_mon( && (!has_ceiling(&u.uz) || !(levl[mx][my].typ == POOL || levl[mx][my].typ == MOAT + || levl[mx][my].typ == LAVAPOOL || accessible(mx, my)))) impossible("ceiling hider hiding %s (%s)", !has_ceiling(&u.uz) ? "without ceiling"