1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-15 20:03:15 +02:00

Actually fix quest artifacts not getting banned at all

This commit is contained in:
Tomasz Zieliński
2024-01-16 17:16:03 +01:00
parent 71844d4d92
commit 817ab1d53d

View File

@@ -203,8 +203,6 @@ void MapController::repairMap(CMap * map) const
auto a = ArtifactUtils::createScroll(*RandomGeneratorUtil::nextItem(out, CRandomGenerator::getDefault())); auto a = ArtifactUtils::createScroll(*RandomGeneratorUtil::nextItem(out, CRandomGenerator::getDefault()));
art->storedArtifact = a; art->storedArtifact = a;
} }
else
map->allowedArtifact.insert(art->getArtifact());
} }
} }
} }