Fix experience-level up/down hilighting

The highlighting worked correctly for #levelchange in wizard mode,
but not for gaining experience levels by killing monsters.
This commit is contained in:
Pasi Kallinen
2026-05-16 16:51:34 +03:00
parent e1ee404ecc
commit 5199921c05
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -25,6 +25,7 @@ fix statue and figurine genders in special levels in general
fix buffer overflow in update_topl when handling multiple items in a
container
fix random attended shrines in irregular rooms
fix experience-level up/down hilighting
Platform- and/or Interface-Specific Fixes
+1 -1
View File
@@ -714,7 +714,7 @@ static struct istat_s initblstats[MAXBLSTATS] = {
INIT_BLSTAT("gold", " %s", ANY_LONG, 40, BL_GOLD),
INIT_BLSTATP("power", " Pw:%s", ANY_INT, 10, BL_ENEMAX, BL_ENE),
INIT_BLSTAT("power-max", "(%s)", ANY_INT, 10, BL_ENEMAX),
INIT_BLSTATP("experience-level", " Xp:%s", ANY_INT, 10, BL_EXP, BL_XP),
INIT_BLSTATP("experience-level", " Xp:%s", ANY_INT, 10, BL_XP, BL_XP),
INIT_BLSTAT("armor-class", " AC:%s", ANY_INT, 10, BL_AC),
INIT_BLSTAT("HD", " HD:%s", ANY_INT, 10, BL_HD),
INIT_BLSTAT("time", " T:%s", ANY_LONG, 30, BL_TIME),