Ceiling hiders on lava pools
Lava pools are perfectly valid locations for ceiling hiders if they're hiding there - aka hanging from the ceiling.
This commit is contained in:
@@ -156,6 +156,7 @@ sanity_check_single_mon(
|
|||||||
&& (!has_ceiling(&u.uz) ||
|
&& (!has_ceiling(&u.uz) ||
|
||||||
!(levl[mx][my].typ == POOL
|
!(levl[mx][my].typ == POOL
|
||||||
|| levl[mx][my].typ == MOAT
|
|| levl[mx][my].typ == MOAT
|
||||||
|
|| levl[mx][my].typ == LAVAPOOL
|
||||||
|| accessible(mx, my))))
|
|| accessible(mx, my))))
|
||||||
impossible("ceiling hider hiding %s (%s)",
|
impossible("ceiling hider hiding %s (%s)",
|
||||||
!has_ceiling(&u.uz) ? "without ceiling"
|
!has_ceiling(&u.uz) ? "without ceiling"
|
||||||
|
|||||||
Reference in New Issue
Block a user