mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r10253) -Fix (r10249): putting the < the wrong way around made the new towns pretty small.
This commit is contained in:
parent
a571d7f954
commit
21711da99d
@ -668,7 +668,7 @@ static bool NeighborIsRoadTile(TileIndex tile, int dir, RoadBlockTitleDistance d
|
||||
|
||||
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) < 1 || TileY(tile) < 1 || MapMaxX() <= TileX(tile) || MapMaxY() <= TileY(tile)) return false;
|
||||
|
||||
Slope k;
|
||||
Slope slope;
|
||||
|
Loading…
Reference in New Issue
Block a user