]> granicus.if.org Git - nethack/commit
blocking or unblocking levitation or flight
authorPatR <rankin@nethack.org>
Sun, 13 Jan 2019 23:17:40 +0000 (15:17 -0800)
committerPatR <rankin@nethack.org>
Sun, 13 Jan 2019 23:17:40 +0000 (15:17 -0800)
commit355dec4d842a261ad8dfbdb0ac5748eb3f7c12af
tree8890009e9749764a0c52518600d5e04920d27b0b
parentabcdb713d5cf525cf28a38690f3698b3e3928269
blocking or unblocking levitation or flight

when level teleporting or digging.  Level teleporting while levitation
was blocked due to being inside solid rock didn't notice that it should
be unblocked until you moved from whatever type of terrain you landed
on (room, for instance) to some other type (such as corridor).  Digging
down to make a pit or hole while inside solid rock converts that spot
to floor so should also check whether to unblock levitation/flying, and
not fall if unblocking occurs.
doc/fixes36.2
src/dig.c
src/dungeon.c