separate option to toggle hilite_pile

Beta tester report.

The use of use_inverse meant that you couldn't selectively
choose to hilite pets but not piles. Add its own option.
This commit is contained in:
nhmall
2015-06-22 15:51:43 -04:00
parent 3ba5def8f1
commit 5df350d548
7 changed files with 28 additions and 12 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
/* NetHack 3.6 winmap.c $NHDT-Date: 1433806622 2015/06/08 23:37:02 $ $NHDT-Branch: master $:$NHDT-Revision: 1.22 $ */
/* NetHack 3.6 winmap.c $NHDT-Date: 1435002689 2015/06/22 19:51:29 $ $NHDT-Branch: master $:$NHDT-Revision: 1.24 $ */
/* Copyright (c) Dean Luick, 1992 */
/* NetHack may be freely redistributed. See license for details. */
@@ -127,7 +127,7 @@ int glyph, bkglyph;
#ifdef TEXTCOLOR
if ((special & MG_PET) && iflags.hilite_pet)
color += CLR_MAX;
if ((special & MG_OBJPILE) && iflags.use_inverse)
if ((special & MG_OBJPILE) && iflags.hilite_pile)
*co_ptr = color;
#endif
if (!map_info->is_tile)