1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Merge pull request #2143 from SoundSSGood/commander-art-transfer-fix

Artifact transfer to the commander fix
This commit is contained in:
Ivan Savenko
2023-05-12 17:37:37 +03:00
committed by GitHub

View File

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