From 0aafd6d73d9d6f0d8d01538bc2e0e1595f77f23e Mon Sep 17 00:00:00 2001 From: ephphatha Date: Sun, 10 Oct 2021 21:36:36 +1100 Subject: [PATCH] Render panel string containing scroll count when browsing spell list --- Source/control.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/control.cpp b/Source/control.cpp index 8ac4166cb..e3cc1d207 100644 --- a/Source/control.cpp +++ b/Source/control.cpp @@ -777,6 +777,7 @@ void DrawSpellList(const Surface &out) return item.IsScrollOf(spellId); }); strcpy(tempstr, fmt::format(ngettext("{:d} Scroll", "{:d} Scrolls", scrollCount), scrollCount).c_str()); + AddPanelString(tempstr); } break; case RSPLTYPE_CHARGES: { if (myPlayer.plrlevel != 0) {