]> granicus.if.org Git - nethack/commitdiff
TTY: Separate hilite_pile option
authorPasi Kallinen <paxed@alt.org>
Tue, 23 Jun 2015 04:43:52 +0000 (07:43 +0300)
committerPasi Kallinen <paxed@alt.org>
Tue, 23 Jun 2015 04:43:52 +0000 (07:43 +0300)
win/tty/wintty.c

index 9aebed158fda429a353a7b2a9bdf3e9437d71025..e4c11571969dc86f46174b3985c6230b459701f9 100644 (file)
@@ -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;
     }