mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix issues reported by Sonar, review fixes
This commit is contained in:
@@ -1779,7 +1779,7 @@ void AssembledArtifact::applyGs(CGameState *gs)
|
||||
return art->getId() == builtArt->getId();
|
||||
}));
|
||||
|
||||
auto * combinedArt = gs->getMap().createSingleArtifact(artId);
|
||||
auto * combinedArt = gs->getMap().createArtifactComponent(artId);
|
||||
|
||||
// Find slots for all involved artifacts
|
||||
std::set<ArtifactPosition, std::greater<>> slotsInvolved = { al.slot };
|
||||
|
||||
Reference in New Issue
Block a user