giant carrying boulder dies while trapped in a pit (trunk only)

<Someone> wrote:
> "You kill the invisible storm giant.  The boulder fills a pit."
> [...] why did I find the corpse *lying on* and not *buried in* the
> former pit?

Ensure that the corpse ends up buried in that case.
This commit is contained in:
nethack.allison
2004-04-11 18:39:14 +00:00
parent 1194454b2f
commit 6dc1bbd544
9 changed files with 59 additions and 24 deletions

View File

@@ -791,7 +791,7 @@ skip0:
if(!rn2(20))
(void) mkcorpstat(STATUE, (struct monst *)0,
(struct permonst *)0,
somex(croom), somey(croom), TRUE);
somex(croom), somey(croom), CORPSTAT_INIT);
/* put box/chest inside;
* 40% chance for at least 1 box, regardless of number
* of rooms; about 5 - 7.5% for 2 boxes, least likely