]> granicus.if.org Git - nethack/commit
edge of map feedback
authorPatR <rankin@nethack.org>
Fri, 31 May 2019 14:35:37 +0000 (07:35 -0700)
committerPatR <rankin@nethack.org>
Fri, 31 May 2019 14:35:37 +0000 (07:35 -0700)
commita09973851ee3bc4805a855bce74ae2ca96b9f372
treecdfcfceb5d0ef1134f1f304f0214cedc1f4b8731
parent48cd573e327dfe84e71b69556425499f89053b42
edge of map feedback

When testing Planes of Air and Water, I found it odd that trying to
move off the edge of a level uses a turn but provides no feedback.
If 'mention_walls' is On, report that you can't go any farther in
whichever direction you're trying to move.  Moving diagonally is
only blocked in one of the two combined directions unless you're in
the very corner, so if you try to move southwest while in the middle
of the bottom row, for instance, it says you can't go farther south
rather than southwest.
doc/fixes36.3
src/hack.c