mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix incorrect string ID
This commit is contained in:
parent
5454d01316
commit
3311676f1d
@ -240,7 +240,7 @@ void CBonusSelection::createBonusesIcons()
|
|||||||
}
|
}
|
||||||
case CampaignBonusType::SECONDARY_SKILL:
|
case CampaignBonusType::SECONDARY_SKILL:
|
||||||
desc.appendLocalString(EMetaText::GENERAL_TXT, 718);
|
desc.appendLocalString(EMetaText::GENERAL_TXT, 718);
|
||||||
desc.replaceTextID(TextIdentifier("core", "genrltxt", "levels", bonDescs[i].info3 - 1).get());
|
desc.replaceTextID(TextIdentifier("core", "skilllev", bonDescs[i].info3 - 1).get());
|
||||||
desc.replaceName(SecondarySkill(bonDescs[i].info2));
|
desc.replaceName(SecondarySkill(bonDescs[i].info2));
|
||||||
picNumber = bonDescs[i].info2 * 3 + bonDescs[i].info3 - 1;
|
picNumber = bonDescs[i].info2 * 3 + bonDescs[i].info3 - 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user