mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Fixed logic regression from previous commit.
This commit is contained in:
@ -93,8 +93,8 @@ void CMapGenerator::initQuestArtsRemaining()
|
||||
{
|
||||
for (auto art : VLC->arth->artifacts)
|
||||
{
|
||||
if (art->aClass == CArtifact::ART_TREASURE && art->constituentOf.empty()) //don't use parts of combined artifacts
|
||||
questArtifacts.push_back(art->id);
|
||||
if (art->aClass == CArtifact::ART_TREASURE && VLC->arth->legalArtifact(art->id) && art->constituentOf.empty()) //don't use parts of combined artifacts
|
||||
questArtifacts.push_back(art->id);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user