1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Fix description of skill-based bonuses

This commit is contained in:
Ivan Savenko 2023-01-21 15:58:12 +02:00
parent 9565cae3cb
commit 5fa69dcf2f

View File

@ -103,7 +103,7 @@ void CSkill::addNewBonus(const std::shared_ptr<Bonus> & b, int level)
b->source = Bonus::SECONDARY_SKILL;
b->sid = id;
b->duration = Bonus::PERMANENT;
b->description = getNameTextID();
b->description = getNameTranslated();
levels[level-1].effects.push_back(b);
}