mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
artifactTransitionPos created
This commit is contained in:
@@ -740,11 +740,11 @@ void CArtifactsOfHero::artifactMoved(const ArtifactLocation &src, const Artifact
|
||||
}
|
||||
else if(commonInfo->dst == src) //the dest artifact was moved -> we are picking it
|
||||
{
|
||||
assert(dst.slot >= GameConstants::BACKPACK_START);
|
||||
assert(ArtifactUtils::isSlotBackpack(dst.slot));
|
||||
commonInfo->reset();
|
||||
|
||||
CArtifactsOfHero::ArtPlacePtr ap;
|
||||
for(CArtifactsOfHero *aoh : commonInfo->participants)
|
||||
for(CArtifactsOfHero * aoh : commonInfo->participants)
|
||||
{
|
||||
if(dst.isHolder(aoh->curHero))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user