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.
This commit is contained in:
nethack.rankin
2007-05-22 01:00:57 +00:00
parent c89d5f2075
commit 8cbf547b45

View File

@@ -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);