filled trap doors on castle can be re-dug

This commit is contained in:
nethack.allison
2005-01-08 14:37:36 +00:00
parent f8ea481ea1
commit 9a3022800b
7 changed files with 13 additions and 6 deletions

View File

@@ -333,7 +333,8 @@ boolean td; /* td == TRUE : trap door or hole */
if (In_sokoban(&u.uz) && Can_fall_thru(&u.uz))
; /* KMH -- You can't escape the Sokoban level traps */
else if(Levitation || u.ustuck || !Can_fall_thru(&u.uz)
else if(Levitation || u.ustuck
|| (!Can_fall_thru(&u.uz) && !levl[u.ux][u.uy].candig)
|| Flying || is_clinger(youmonst.data)
|| (Inhell && !u.uevent.invoked &&
newlevel == dunlevs_in_dungeon(&u.uz))