]> granicus.if.org Git - nethack/commit
fix #1727 - offering Rider corpses (trunk only)
authornethack.rankin <nethack.rankin>
Thu, 9 Oct 2008 23:55:43 +0000 (23:55 +0000)
committernethack.rankin <nethack.rankin>
Thu, 9 Oct 2008 23:55:43 +0000 (23:55 +0000)
commit6202d5971e175445fba455ebaee056ee273cc65d
tree8e3c21251867aa021fa38514a7167c1557fdfa8d
parent426894d813ca0096a7734e50fc2bdc2ab6276720
fix #1727 - offering Rider corpses (trunk only)

     The report that killing a Rider on an altar allowed you to sacrifice
its corpse was a wizard mode-only phenomenon in 3.4.3 (because you needed
to use an altar at some location other than the Astral Plane, hence also
needed to use ^G to get the Rider there), so not really a bug.  But a
post-3.4.3 change has made it possible to offer corpses from the floor on
the astral level, unintentionally making it possible to sacrifice Rider
corpses.  This makdes #offer check specifically for them and trigger their
revival if the attempt is made, same as done by pickup.
include/extern.h
src/pickup.c
src/pray.c