]> granicus.if.org Git - nethack/commit
more #H9375 - Rider bargethrough
authorPatR <rankin@nethack.org>
Sat, 23 Nov 2019 17:28:08 +0000 (09:28 -0800)
committerPatR <rankin@nethack.org>
Sat, 23 Nov 2019 17:28:08 +0000 (09:28 -0800)
commitfe2826c856d90ca6481152bbb3fde83f257999ee
tree751465c1dfc1f55772be7d81ec6b2af86a036609
parentce46c97e6e6749fc1107db64db7bc1475d00193b
more #H9375 - Rider bargethrough

I think the previous expression would allow moving (via swapping
places) from a pool to solid rock or closed door which was not what
was intended (but moot since there aren't any pools on the Astral
level).  This revised expression does what is intended:  can only
swap to a pool location if already located in/over (the Riders fly?
they should probably be non-breathing) another pool.
src/monmove.c