mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
Implement curved paths for all road node objects
This commit is contained in:
@@ -212,7 +212,7 @@ void RiverPlacer::preprocess()
|
||||
{
|
||||
auto river = VLC->terrainTypeHandler->getById(zone.getTerrainType())->river;
|
||||
auto & a = neighbourZonesTiles[connectedToWaterZoneId];
|
||||
auto availableArea = zone.areaPossible() + zone.freePaths();
|
||||
auto availableArea = zone.areaForRoads();
|
||||
for(const auto & tileToProcess : availableArea.getTilesVector())
|
||||
{
|
||||
int templateId = -1;
|
||||
|
||||
Reference in New Issue
Block a user