mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Merge pull request #2143 from SoundSSGood/commander-art-transfer-fix
Artifact transfer to the commander fix
This commit is contained in:
commit
b0c3e767d9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user