'$' vs #jump
commit4697c13db04d20776724dda68aab5d29f63a38c4
authorPatR <rankin@nethack.org>
Tue, 21 Jun 2016 09:39:21 +0000 (21 02:39 -0700)
committerPatR <rankin@nethack.org>
Tue, 21 Jun 2016 09:39:21 +0000 (21 02:39 -0700)
treef2ecd320a41f4a5334dc4a30d82bdcacb8823e96
parentd91d445fc633adc34d300d03e8d9c479466326e0
'$' vs #jump

Hero poly'd into xorn can wear jumping boots or cast jump spell, so
some target destinations which were excluded by '$' (to show valid
destinations during getpos) shouldn't have been.  Doubly so if
wearing the Eyes of the Overworld where xorn'd hero can jump through
walls rather than just into them.

This attempts to deal with diagonal moves vs open doorways sanely,
including allowing knight's move jumps in or out of them when
appropriate.

Also, need to check isok(x,y) before cansee(x,y) instead of after.
doc/fixes36.1
src/apply.c
src/dothrow.c