mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-21 00:19:29 +02:00
Give every Zone its own RNG
This commit is contained in:
@ -90,7 +90,7 @@ void RoadPlacer::drawRoads(bool secondary)
|
||||
|
||||
std::string roadName = (secondary ? generator.getConfig().secondaryRoadType : generator.getConfig().defaultRoadType);
|
||||
RoadId roadType(*VLC->modh->identifiers.getIdentifier(CModHandler::scopeGame(), "road", roadName));
|
||||
mapProxy->drawRoads(generator.rand, tiles, roadType);
|
||||
mapProxy->drawRoads(zone.getRand(), tiles, roadType);
|
||||
}
|
||||
|
||||
void RoadPlacer::addRoadNode(const int3& node)
|
||||
|
Reference in New Issue
Block a user