The 'wizmgender' option is flagged as 'wizonly' in optlist.h but that
doesn't prevent it from being set in NETHACKOPTIONS or .nethackrc.
Apply the fix from entrez to only honor it when running in wizard
mode.
}
if ((obj->otyp == STATUE || obj->otyp == CORPSE || obj->otyp == FIGURINE)
- && iflags.wizmgender) {
+ && wizard && iflags.wizmgender) {
int cgend = (obj->spe & CORPSTAT_GENDER),
mgend = ((cgend == CORPSTAT_MALE) ? MALE
: (cgend == CORPSTAT_FEMALE) ? FEMALE
attr = A_REVERSE;
}
/* highlight female monsters (wizard mode option) */
- if ((special & MG_FEMALE) && iflags.wizmgender) {
+ if ((special & MG_FEMALE) && wizard && iflags.wizmgender) {
attr = A_REVERSE;
}
}
to see although the Valkyrie quest ends up being hard on the eyes) */
if (((special & MG_PET) != 0 && iflags.hilite_pet)
|| ((special & MG_OBJPILE) != 0 && iflags.hilite_pile)
- || ((special & MG_FEMALE) != 0 && iflags.wizmgender)
+ || ((special & MG_FEMALE) != 0 && wizard && iflags.wizmgender)
|| ((special & (MG_DETECT | MG_BW_LAVA | MG_BW_ICE)) != 0
&& iflags.use_inverse)) {
term_start_attr(ATR_INVERSE);