From a29bf9d63dba22d216be9c638faee168e93acaad Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Fri, 10 Nov 2006 05:23:13 +0000 Subject: [PATCH] another petrification bit (trunk only) Noticed while tracking down the "you die..." situation. Duplicating instapetrify()'s resistance checks is useful here, but there's no need to also duplicate its death handling. --- src/dokick.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/dokick.c b/src/dokick.c index 06148e220..0dfea5e19 100644 --- a/src/dokick.c +++ b/src/dokick.c @@ -440,12 +440,10 @@ xchar x, y; if (poly_when_stoned(youmonst.data) && polymon(PM_STONE_GOLEM)) { ; /* hero has been transformed but kick continues */ } else { - You("turn to stone..."); - killer.format = KILLED_BY; /* normalize body shape here; foot, not body_part(FOOT) */ Sprintf(killer.name, "kicking %s barefoot", killer_xname(kickobj)); - done(STONING); + instapetrify(killer.name); } }