(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:
belugas 2007-07-11 02:13:00 +00:00
parent 5111c6205c
commit fb92e30dfb

View File

@ -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;