Changeset - r1372:c91f3718e867
[Not reviewed]
master
0 1 0
tron - 19 years ago 2005-02-14 22:17:21
tron@openttd.org
(svn r1876) Make placement of oil rigs and refineries map size agnostic
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
industry_cmd.c
Show inline comments
 
@@ -1192,7 +1192,7 @@ static bool CheckNewIndustry_Oilwell(uin
 
	x = TileX(tile);
 
	y = TileY(tile);
 

	
 
	if ( x < 15 || y < 15 || x > 238 || y > 238)
 
	if (DistanceFromEdge(TILE_ADDXY(tile, 1, 1)) < 16)
 
		return true;
 

	
 
	_error_message = STR_483B_CAN_ONLY_BE_POSITIONED;
0 comments (0 inline, 0 general)