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:
@@ -1090,7 +1090,7 @@ mksobj(int otyp, boolean init, boolean artif)
|
||||
if (otmp->corpsenm == NON_PM) {
|
||||
otmp->corpsenm = undead_to_corpse(rndmonnum());
|
||||
if (g.mvitals[otmp->corpsenm].mvflags & (G_NOCORPSE | G_GONE))
|
||||
otmp->corpsenm = g.urole.malenum;
|
||||
otmp->corpsenm = g.urole.mnum;
|
||||
}
|
||||
/*FALLTHRU*/
|
||||
case STATUE:
|
||||
|
||||
Reference in New Issue
Block a user