mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Merge pull request #1830 from SoundSSGood/beta
Graphical glitches fixed
This commit is contained in:
@@ -281,7 +281,6 @@ void CHeroArtPlace::select()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CCS->curh->dragAndDropCursor("artifact", ourArt->artType->getIconIndex());
|
|
||||||
ourOwner->commonInfo->src.setTo(this, false);
|
ourOwner->commonInfo->src.setTo(this, false);
|
||||||
ourOwner->commonInfo->src.slotID = ArtifactPosition::TRANSITION_POS;
|
ourOwner->commonInfo->src.slotID = ArtifactPosition::TRANSITION_POS;
|
||||||
|
|
||||||
@@ -741,7 +740,9 @@ void CArtifactsOfHero::artifactMoved(const ArtifactLocation & src, const Artifac
|
|||||||
}
|
}
|
||||||
if(!curHero->artifactsTransitionPos.empty() && withUIUpdate)
|
if(!curHero->artifactsTransitionPos.empty() && withUIUpdate)
|
||||||
{
|
{
|
||||||
markPossibleSlots(curHero->getArt(ArtifactPosition::TRANSITION_POS));
|
auto artInst = curHero->getArt(ArtifactPosition::TRANSITION_POS);
|
||||||
|
markPossibleSlots(artInst);
|
||||||
|
CCS->curh->dragAndDropCursor("artifact", artInst->artType->getIconIndex());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user