mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-19 00:17:56 +02:00
- Move Hero / Prison distribution to separate modificator
- Protect rolling and banning hero with mutex
This commit is contained in:
@ -75,7 +75,6 @@ void ObjectDistributor::distributeLimitedObjects()
|
||||
|
||||
auto rmgInfo = handler->getRMGInfo();
|
||||
|
||||
// FIXME: Random order of distribution
|
||||
RandomGeneratorUtil::randomShuffle(matchingZones, zone.getRand());
|
||||
for (auto& zone : matchingZones)
|
||||
{
|
||||
|
Reference in New Issue
Block a user