Przeglądaj źródła

art transfer fix

SoundSSGood 2 lat temu
rodzic
commit
f3ae47b10e
1 zmienionych plików z 1 dodań i 1 usunięć
  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);