mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-14 02:33:51 +02:00
Add only one template per object
This commit is contained in:
parent
a0de223901
commit
a88e1dc1f6
@ -74,6 +74,8 @@ void TreasurePlacer::addAllPossibleObjects()
|
||||
oi.maxPerZone = rmgInfo.zoneLimit;
|
||||
vstd::amin(oi.maxPerZone, rmgInfo.mapLimit / numZones); //simple, but should distribute objects evenly on large maps
|
||||
possibleObjects.push_back(oi);
|
||||
|
||||
break; //Place only one template per zone
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user