mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-21 21:17:49 +02:00
Fix description of artifacts
This commit is contained in:
parent
5fa69dcf2f
commit
8064bc5465
@ -776,7 +776,7 @@ void CArtifactInstance::init()
|
||||
|
||||
std::string CArtifactInstance::getEffectiveDescription(const CGHeroInstance * hero) const
|
||||
{
|
||||
std::string text = artType->getDescription();
|
||||
std::string text = artType->getDescriptionTranslated();
|
||||
if (!vstd::contains(text, '{'))
|
||||
text = '{' + artType->getNameTranslated() + "}\n\n" + text; //workaround for new artifacts with single name, turns it to H3-style
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user