role selection typo (trunk only)

tty's role confirmation menu was always showing "dwarven" as the
chosen race.  I don't know how many times I saw it without ever realizing.
``races[FACE]'' in the code eventually stood out enough to be noticed.  :-)
This commit is contained in:
nethack.rankin
2009-03-24 00:31:01 +00:00
parent 664229027e
commit b8b8a65dfb

View File

@@ -771,7 +771,7 @@ tty_player_selection()
else
*plbuf = '\0'; /* omit redundant gender */
Sprintf(pbuf, "%s, %s%s %s %s",
plname, aligns[ALGN].adj, plbuf, races[FACE].adj,
plname, aligns[ALGN].adj, plbuf, races[RACE].adj,
(GEND == 1 && roles[ROLE].name.f) ?
roles[ROLE].name.f : roles[ROLE].name.m);
add_menu(win, NO_GLYPH, &any, ' ', 0, ATR_NONE,