浏览代码

art transfer fix

SoundSSGood 2 年之前
父节点
当前提交
f3ae47b10e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client/widgets/CWindowWithArtifacts.cpp

+ 1 - 1
client/widgets/CWindowWithArtifacts.cpp

@@ -270,7 +270,7 @@ void CWindowWithArtifacts::artifactMoved(const ArtifactLocation & srcLoc, const
 			}
 
 			// Make sure the status bar is updated so it does not display old text
-			if(destLoc.isHolder(hero))
+			if(destLoc.getHolderArtSet() == hero)
 			{
 				if(auto artPlace = artSetPtr->getArtPlace(destLoc.slot))
 					artPlace->hover(true);