1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

Fix build in debug mode

This commit is contained in:
Ivan Savenko
2023-07-11 15:20:32 +03:00
parent 9acab48bc3
commit 37f3560b9c
5 changed files with 5 additions and 6 deletions

View File

@ -1530,7 +1530,6 @@ void NewArtifact::applyGs(CGameState *gs)
art->setType(art->artType);
if(art->isCombined())
{
assert(art->artType->getConstituents());
for(const auto & part : art->artType->getConstituents())
art->addPart(ArtifactUtils::createNewArtifactInstance(part), ArtifactPosition::PRE_FIRST);
}