1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Merge pull request #2236 from vcmi/limit_seer_huts

Create only a single seer hut for every artifact we have
This commit is contained in:
DjWarmonger 2023-07-22 08:17:03 +02:00 committed by GitHub
commit 0be3d6911c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -484,6 +484,7 @@ void TreasurePlacer::addAllPossibleObjects()
}
oi.probability = 10;
oi.maxPerZone = 1;
oi.generateObject = [i, randomAppearance, this, qap]() -> CGObjectInstance *
{