Render panel string containing scroll count when browsing spell list

This commit is contained in:
ephphatha 2021-10-10 21:36:36 +11:00 committed by Anders Jenbo
commit 0aafd6d73d

View file

@ -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) {