mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Use ArtifactInstanceID in CGArtifact
This commit is contained in:
@@ -1089,10 +1089,10 @@ void CMapLoaderJson::MapObjectLoader::configure()
|
||||
else if(art->ID == Obj::ARTIFACT)
|
||||
{
|
||||
//specific artifact
|
||||
artID = art->getArtifact();
|
||||
artID = art->getArtifactType();
|
||||
}
|
||||
|
||||
art->storedArtifact = owner->map->createArtifact(artID, spellID.getNum());
|
||||
art->setArtifactInstance(owner->map->createArtifact(artID, spellID.getNum()));
|
||||
}
|
||||
|
||||
if(auto hero = std::dynamic_pointer_cast<CGHeroInstance>(instance))
|
||||
|
||||
Reference in New Issue
Block a user