mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 15:41:15 +00:00
(svn r10505) -Fix(r10249)[FS#1016]: Town was still trying to gather information for tiles on which it could not build. aising the values to 2 will prevent further invasion of the water-at-the-edge :)
This commit is contained in:
parent
5111c6205c
commit
fb92e30dfb
@ -669,7 +669,7 @@ static bool NeighborIsRoadTile(TileIndex tile, int dir, RoadBlockTitleDistance d
|
|||||||
|
|
||||||
static bool IsRoadAllowedHere(TileIndex tile, int dir)
|
static bool IsRoadAllowedHere(TileIndex tile, int dir)
|
||||||
{
|
{
|
||||||
if (TileX(tile) < 1 || TileY(tile) < 1 || MapMaxX() <= TileX(tile) || MapMaxY() <= TileY(tile)) return false;
|
if (TileX(tile) < 2 || TileY(tile) < 2 || MapMaxX() <= TileX(tile) || MapMaxY() <= TileY(tile)) return false;
|
||||||
|
|
||||||
Slope k;
|
Slope k;
|
||||||
Slope slope;
|
Slope slope;
|
||||||
|
Loading…
Reference in New Issue
Block a user