Skip to content

Commit

Permalink
new man/woman (polyself, inevitably...)
Browse files Browse the repository at this point in the history
     Noticed when testing the [trunk] ^X fix:  polymorphing into human
form (not reverting to original form) reported "you feel like a new man"
when I resumed being a cavewomen.  Like with ^X, it used poly'd hero's
current monster gender instead of the about-to-be-restored role gender.
It's amazing that nobody seems to have ever noticed in all this time.
  • Loading branch information
nethack.rankin committed Mar 1, 2011
1 parent 85a2ebe commit cc7d1ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions doc/fixes34.4
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,9 @@ some actions taken when blind would yield "Wait! That's a monster!" (for a
mimic posing as a door) but not display the unseen monster glyph
#untrap toward known trap location containing concealed mimic would yield
"{The mimic|It} {is in the way|isn't trapped}." but not reveal mimic
when polymorphed into an opposite sex monster, if you then become a new
human while failing to polymorph into something else, you'd be told
"you feel like a new man" for female or "a new woman" for male


Platform- and/or Interface-Specific Fixes
Expand Down
3 changes: 2 additions & 1 deletion src/polyself.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,8 @@ newman()
}
newuhs(FALSE);
polyman("feel like a new %s!",
(flags.female && urace.individual.f) ? urace.individual.f :
/* use saved gender we're about to revert to, not current */
(u.mfemale && urace.individual.f) ? urace.individual.f :
(urace.individual.m) ? urace.individual.m : urace.noun);
if (Slimed) {
Your("body transforms, but there is still slime on you.");
Expand Down

0 comments on commit cc7d1ff

Please sign in to comment.