Remove gendered mons indices from roles, races
There are no longer distinct gendered versions of monsters, so femalenum is unused (i.e. set to NON_PM) for all roles and races. Take a pass at removing all uses of/references to femalenum, and rename 'malenum' to 'mnum' since it no longer has any particular association with gender or sex.
This commit is contained in:
@@ -929,7 +929,7 @@ public:
|
||||
#endif
|
||||
)
|
||||
{
|
||||
setGlyph(monnum_to_glyph(roles[id].malenum));
|
||||
setGlyph(monnum_to_glyph(roles[id].mnum));
|
||||
}
|
||||
};
|
||||
|
||||
@@ -944,7 +944,7 @@ public:
|
||||
#endif
|
||||
)
|
||||
{
|
||||
setGlyph(monnum_to_glyph(races[id].malenum));
|
||||
setGlyph(monnum_to_glyph(races[id].mnum));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -250,7 +250,7 @@ Gem_player_selection()
|
||||
currch = lowc(roles[i].name.m[0]);
|
||||
if (currch == lastch)
|
||||
currch = highc(currch);
|
||||
add_menu(win, roles[i].malenum, &any, currch, 0, ATR_NONE,
|
||||
add_menu(win, roles[i].mnum, &any, currch, 0, ATR_NONE,
|
||||
an(roles[i].name.m), MENU_ITEMFLAGS_NONE);
|
||||
lastch = currch;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user