Opened 7 years ago

Closed 7 years ago

#1763 closed bug (fixed (in master))

Various parts of the code do not handle psex == 2 (neuter) correctly.

Reported by: myshkin Owned by:
Milestone: 3.5.0 Keywords: birth loadsave player


  • defines.h has SEX_MALE and SEX_FEMALE constants, but no SEX_NEUTER
  • get_ahw() expects p_ptr->psex to be SEX_MALE or SEX_FEMALE, and lib/edit/p_race.txt has height and weight statistics only for those two cases.
  • build_score() saves player sex as a single char, either 'm' or 'f'
  • prt_welcome() tests for p_ptr->psex == SEX_MALE and uses "lady" as a greeting on failure
  • Possibly the winner title for the neuter sex should not be "Regent," although d_m thinks it's okay.

Change History (1)

comment:1 Changed 7 years ago by takkaria

  • Resolution set to fixed (in master)
  • Status changed from new to closed

Fixed in b494eea .

Note: See TracTickets for help on using tickets.