From: Pasi Kallinen Date: Tue, 23 Jun 2015 04:43:52 +0000 (+0300) Subject: TTY: Separate hilite_pile option X-Git-Tag: NetHack-3.6.0_RC01~239 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9dc979d4146ea9a3c1e6850694877db37ccb0a09;p=nethack TTY: Separate hilite_pile option --- diff --git a/win/tty/wintty.c b/win/tty/wintty.c index 9aebed158..e4c115719 100644 --- a/win/tty/wintty.c +++ b/win/tty/wintty.c @@ -3044,7 +3044,8 @@ int glyph, bkglyph; /* must be after color check; term_end_color may turn off inverse too */ if (((special & MG_PET) && iflags.hilite_pet) - || ((special & (MG_DETECT|MG_OBJPILE)) && iflags.use_inverse)) { + || ((special & MG_OBJPILE) && iflags.hilite_pile) + || ((special & MG_DETECT) && iflags.use_inverse)) { term_start_attr(ATR_INVERSE); reverse_on = TRUE; }