botl.c follow-up

This commit is contained in:
nhmall
2025-03-05 08:55:27 -05:00
parent 90d240cbb8
commit fd49242015
2 changed files with 4 additions and 3 deletions

View File

@@ -2562,7 +2562,7 @@ parse_status_hl2(char (*s)[QBUFSZ], boolean from_configfile)
"Satiated", "", "Hungry", "Weak", "Fainting", "Fainted", "Starved"
};
char *tmp, *how;
int sidx = 0, i = -1, dt = -1;
int sidx = 0, i = -1, dt = ANY_INVALID;
int coloridx = -1, successes = 0;
int disp_attrib = 0;
boolean percent, changed, numeric, down, up,
@@ -2830,7 +2830,6 @@ parse_status_hl2(char (*s)[QBUFSZ], boolean from_configfile)
else
hilite.behavior = BL_TH_NONE;
/* assert(dt >= 0); */
hilite.anytype = dt;
if (hilite.behavior == BL_TH_TEXTMATCH && txt) {