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

art transfer fix

This commit is contained in:
SoundSSGood
2023-05-10 03:01:13 +03:00
parent 2a7278f45c
commit f3ae47b10e

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 // 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)) if(auto artPlace = artSetPtr->getArtPlace(destLoc.slot))
artPlace->hover(true); artPlace->hover(true);