mirror of https://github.com/OpenTTD/OpenTTD
Compare commits
3 Commits
3113475bf1
...
c1de1dd777
Author | SHA1 | Date |
---|---|---|
|
c1de1dd777 | |
|
c69fc76395 | |
|
cdeefe7bd8 |
|
@ -184,7 +184,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* Bridge offset
|
* Bridge offset
|
||||||
*/
|
*/
|
||||||
SpriteID bridge_offset;
|
uint8_t bridge_offset;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Original railtype number to use when drawing non-newgrf railtypes, or when drawing stations.
|
* Original railtype number to use when drawing non-newgrf railtypes, or when drawing stations.
|
||||||
|
|
|
@ -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