浏览代码

vcmi: add artifact component to second grail msg

Konstantin 2 年之前
父节点
当前提交
4c31db52be
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      server/CGameHandler.cpp

+ 1 - 0
server/CGameHandler.cpp

@@ -6057,6 +6057,7 @@ bool CGameHandler::dig(const CGHeroInstance *h)
 		sendAndApply(&iw);
 
 		iw.soundID = soundBase::invalid;
+		iw.components.emplace_back(Component::EComponentType::ARTIFACT, ArtifactID::GRAIL, 0, 0);
 		iw.text.clear();
 		iw.text.addTxt(MetaString::ART_DESCR, ArtifactID::GRAIL);
 		sendAndApply(&iw);