mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Replace bonus string description with metastring that can properly
handle translations
This commit is contained in:
@@ -294,7 +294,7 @@ void CArtifact::addNewBonus(const std::shared_ptr<Bonus>& b)
|
||||
{
|
||||
b->source = BonusSource::ARTIFACT;
|
||||
b->duration = BonusDuration::PERMANENT;
|
||||
b->description = getNameTranslated();
|
||||
b->description.appendName(id);
|
||||
CBonusSystemNode::addNewBonus(b);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user