1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Use spell name for spell scroll campaign bonus

This commit is contained in:
Ivan Savenko 2024-06-26 15:47:44 +00:00
parent 77e827c51e
commit 9ea3b31ddc

View File

@ -215,7 +215,7 @@ void CBonusSelection::createBonusesIcons()
break;
case CampaignBonusType::SPELL_SCROLL:
desc.appendLocalString(EMetaText::GENERAL_TXT, 716);
desc.replaceName(ArtifactID(bonDescs[i].info2));
desc.replaceName(SpellID(bonDescs[i].info2));
break;
case CampaignBonusType::PRIMARY_SKILL:
{