]> granicus.if.org Git - nethack/commit
losing saddle while riding
authornethack.rankin <nethack.rankin>
Tue, 17 Apr 2007 03:43:17 +0000 (03:43 +0000)
committernethack.rankin <nethack.rankin>
Tue, 17 Apr 2007 03:43:17 +0000 (03:43 +0000)
commit933c1846b921ab43189d1ed166cbdc62e225aadd
tree286b67569463e4783c8c93ab93446d372509ce4e
parent7a084228847d76af3af4a4b81eed1cb8534ce65d
losing saddle while riding

     Noticed while looking at something else:  zapping a wand of opening
or spell of knock downwards while riding causes your steed's saddle to
fall off, which in turn causes the hero to fall and take some damage.
If that damage was fatal, the saddle would be left worn in bones data.
This reorganizes mdrop_obj() to defer until last the part that ultimately
makes the hero fall off, and changes bhitm() to call that instead of
handling saddle removal inline, also gives new saddle-off feedback there.
doc/fixes34.4
include/extern.h
src/steal.c
src/zap.c