1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

cosmetic fixes

This commit is contained in:
SoundSSGood
2023-06-24 18:26:16 +03:00
parent 8751d9ab8b
commit b135045dcd
3 changed files with 14 additions and 18 deletions

View File

@@ -819,9 +819,6 @@ void CArtifactInstance::init()
std::string CArtifactInstance::getDescription() const
{
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
if(artType->getId() == ArtifactID::SPELL_SCROLL)
{
// we expect scroll description to be like this: This scroll contains the [spell name] spell which is added into your spell book for as long as you carry the scroll.