changeset 7226 | 3e15150d5a23 |
parent 7225 | 9d9a1e554903 |
child 7333 | e48228e44be8 |
--- a/src/town_cmd.cpp Wed Jul 11 01:45:44 2007 +0000 +++ b/src/town_cmd.cpp Wed Jul 11 02:13:00 2007 +0000 @@ -669,7 +669,7 @@ 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 slope;