mirror of
https://github.com/vcmi/vcmi.git
synced 2025-05-29 22:57:49 +02:00
Graphical glitches fixed
This commit is contained in:
parent
cfb5a771ca
commit
348684f93e
@ -281,7 +281,6 @@ void CHeroArtPlace::select()
|
||||
}
|
||||
}
|
||||
|
||||
CCS->curh->dragAndDropCursor("artifact", ourArt->artType->getIconIndex());
|
||||
ourOwner->commonInfo->src.setTo(this, false);
|
||||
ourOwner->commonInfo->src.slotID = ArtifactPosition::TRANSITION_POS;
|
||||
|
||||
@ -741,7 +740,9 @@ void CArtifactsOfHero::artifactMoved(const ArtifactLocation & src, const Artifac
|
||||
}
|
||||
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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user