From 8cbf547b45572fb2b88156ca41374e153b69bb97 Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Tue, 22 May 2007 01:00:57 +0000 Subject: [PATCH] rehumanize bit (trunk only) Something else from a copy of an old news message: You return to human form! Do you want your possessions identified? I don't think that this can actually happen any more because the pieces of code which subtract hit points should all be polyself aware now, so I didn't bother with a fixes entry for it. --- src/polyself.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/polyself.c b/src/polyself.c index 20d1ff147..b7af15e22 100644 --- a/src/polyself.c +++ b/src/polyself.c @@ -841,6 +841,9 @@ rehumanize() polyman("return to %s form!", urace.adj); if (u.uhp < 1) { + /* can only happen if some bit of code reduces u.uhp + instead of u.mh while poly'd */ + Your("old form was not healthy enough to survive."); Sprintf(killer.name, "reverting to unhealthy %s form", urace.adj); killer.format = KILLED_BY; done(DIED); -- 2.40.0