Преглед на файлове

Fix description of artifacts

Ivan Savenko преди 2 години
родител
ревизия
8064bc5465
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      lib/CArtHandler.cpp

+ 1 - 1
lib/CArtHandler.cpp

@@ -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