Redraw map when hilite_pile is toggled

This commit is contained in:
Pasi Kallinen
2016-01-06 04:41:57 +02:00
parent 4d919b4d1f
commit 6b559d06f0
2 changed files with 2 additions and 0 deletions

View File

@@ -91,6 +91,7 @@ allow moving cursor to monsters with 'm' and 'M' when asked for map location
fix death reason when eating tainted glob of <monster> (not corpse) fix death reason when eating tainted glob of <monster> (not corpse)
use appropriate place name for drum of earthquake shakes use appropriate place name for drum of earthquake shakes
fix unmapped branch stairs on sokoban level fix unmapped branch stairs on sokoban level
redraw map when hilite_pile is toggled to display the highlighting
Platform- and/or Interface-Specific Fixes Platform- and/or Interface-Specific Fixes

View File

@@ -3384,6 +3384,7 @@ boolean tinitial, tfrom_file;
need_redraw = TRUE; /* darkroom refresh */ need_redraw = TRUE; /* darkroom refresh */
} else if ((boolopt[i].addr) == &iflags.use_inverse } else if ((boolopt[i].addr) == &iflags.use_inverse
|| (boolopt[i].addr) == &flags.showrace || (boolopt[i].addr) == &flags.showrace
|| (boolopt[i].addr) == &iflags.hilite_pile
|| (boolopt[i].addr) == &iflags.hilite_pet) { || (boolopt[i].addr) == &iflags.hilite_pet) {
need_redraw = TRUE; need_redraw = TRUE;
#ifdef TEXTCOLOR #ifdef TEXTCOLOR