]> granicus.if.org Git - nethack/commit
fix #M132 - Sunsword glows after its wielder dies
authornethack.rankin <nethack.rankin>
Fri, 15 Jul 2005 02:57:21 +0000 (02:57 +0000)
committernethack.rankin <nethack.rankin>
Fri, 15 Jul 2005 02:57:21 +0000 (02:57 +0000)
commita1b4bce87c871e22cf51ae43e3e1ea0e58658aa7
tree5c1b784ffe212ad11b9e158edbee80bec931feed
parent5243a5137d373d82297645b4005a7255a6e2f99e
fix #M132 - Sunsword glows after its wielder dies

     When lit due to being wielded by a monster, Sunsword continued to emit
light after that monster was killed.  This was fixed by <Someone> in 3.4.1 but a
change I made for 3.4.3 broke that fix.  When mdrop_obj() was split out of
relobj(), relevant unwielding code ended up only being executed for monsters
who were still alive.
doc/fixes34.4
src/steal.c