瀏覽代碼

Merge pull request #4506 from mikeiit/add_missisng_stack_artifact_description

Added missing stack artifact description
Ivan Savenko 1 年之前
父節點
當前提交
e65eaf0e06
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      client/windows/CCreatureWindow.cpp

+ 1 - 0
client/windows/CCreatureWindow.cpp

@@ -619,6 +619,7 @@ CStackWindow::MainSection::MainSection(CStackWindow * owner, int yOffset, bool s
 			parent->stackArtifactIcon = std::make_shared<CAnimImage>(AnimationPath::builtin("ARTIFACT"), art->artType->getIconIndex(), 0, pos.x, pos.y);
 			parent->stackArtifactHelp = std::make_shared<LRClickableAreaWTextComp>(Rect(pos, Point(44, 44)), ComponentType::ARTIFACT);
 			parent->stackArtifactHelp->component.subType = art->artType->getId();
+			parent->stackArtifactHelp->text = art->getDescription();
 
 			if(parent->info->owner)
 			{