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:
@@ -134,7 +134,7 @@ public:
|
||||
)
|
||||
{
|
||||
glyph_info gi;
|
||||
int glyph = monnum_to_glyph(roles[id].malenum, MALE);
|
||||
int glyph = monnum_to_glyph(roles[id].mnum, MALE);
|
||||
map_glyphinfo(0, 0, glyph, 0, &gi);
|
||||
setGlyph(glyph, gi.gm.tileidx);
|
||||
}
|
||||
@@ -152,7 +152,7 @@ public:
|
||||
)
|
||||
{
|
||||
glyph_info gi;
|
||||
int glyph = monnum_to_glyph(races[id].malenum, MALE);
|
||||
int glyph = monnum_to_glyph(races[id].mnum, MALE);
|
||||
map_glyphinfo(0, 0, glyph, 0, &gi);
|
||||
setGlyph(glyph, gi.gm.tileidx);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user