]> granicus.if.org Git - nethack/commit
steed corpse
authornethack.rankin <nethack.rankin>
Tue, 26 Jul 2005 04:55:57 +0000 (04:55 +0000)
committernethack.rankin <nethack.rankin>
Tue, 26 Jul 2005 04:55:57 +0000 (04:55 +0000)
commit32baec7bb123feb47d6d5cedc5509e71f51b84bf
tree834dd2c40f23db8d29bfbe8e6c51d7675da8cc71
parent921361d1bc812ce70de34c45cb1905435c0a739b
steed corpse

     Fix the problem From a bug report.  Presumeably the corpse exclusion at <u.ux,u.uy>
was intended to be for killing your way out of an engulfer, but there wasn't
any comment to that effect.  The exclusion still applies if you were inside
the monster when it died; ridden steed is the only other way I can think of
to have a monster die at your location, so it should be the only case which
gets affected.  Neither steed nor engulfer is allowed to generate a random
item when upon death; you already know what was carried in those cases.

     The bulk of the diff is from reorganizing the relevant `if' and
subsequent indentation changes.
doc/fixes34.4
src/mon.c