mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Replace bonus string description with metastring that can properly
handle translations
This commit is contained in:
@@ -94,7 +94,7 @@ void CSkill::addNewBonus(const std::shared_ptr<Bonus> & b, int level)
|
||||
b->source = BonusSource::SECONDARY_SKILL;
|
||||
b->sid = BonusSourceID(id);
|
||||
b->duration = BonusDuration::PERMANENT;
|
||||
b->description = getNameTranslated();
|
||||
b->description.appendTextID(getNameTextID());
|
||||
levels[level-1].effects.push_back(b);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user