]> granicus.if.org Git - nethack/commit
feedback for failed movement attempts
authorPatR <rankin@nethack.org>
Tue, 14 Jun 2016 00:46:34 +0000 (17:46 -0700)
committerPatR <rankin@nethack.org>
Tue, 14 Jun 2016 00:46:34 +0000 (17:46 -0700)
commitb47a4566305b16e1528addca1f1e17525b157ac6
tree5d77b87bf229516c228240841fd45f87a428409d
parent8fdd2318c167dcc321a07e0d5eb5f2ede252369b
feedback for failed movement attempts

When underwater and an attempt to move onto adjacent land fails
because the destination is a wall or solid rock or closed door,
report that there's an obstacle instead of just silently failing
to make the move.

If the user has 'mention_walls' option set, give feedback for
failing to move diagonally into or out of a doorway instead of
just silently not moving.

Having 'mention_walls' set could yield "you cannot pass through
the bars" when travel was testing (not moving) for a path past
iron bars, and when it happened it tended to be delivered a whole
bunch of times.
doc/fixes36.1
src/hack.c