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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user