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:
@@ -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());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user