mirror of https://github.com/OpenTTD/OpenTTD
Merge cdeefe7bd8
into a46a3a97f3
commit
37515d7ea9
|
@ -1623,6 +1623,9 @@ static TownGrowthResult GrowTownInTile(TileIndex *tile_ptr, RoadBits cur_rb, Dia
|
||||||
return TownGrowthResult::Continue;
|
return TownGrowthResult::Continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Don't build houses around half-tile roads in the rare case we ended up on one. */
|
||||||
|
if (HasExactlyOneBit(cur_rb)) allow_house = false;
|
||||||
|
|
||||||
/* Possibly extend the road in a direction.
|
/* Possibly extend the road in a direction.
|
||||||
* Randomize a direction and if it has a road, bail out. */
|
* Randomize a direction and if it has a road, bail out. */
|
||||||
target_dir = RandomDiagDir();
|
target_dir = RandomDiagDir();
|
||||||
|
|
Loading…
Reference in New Issue