author | tron |
Mon, 14 Feb 2005 22:19:56 +0000 | |
changeset 1373 | 4f5722822810 |
parent 1372 | b086d32562e6 |
child 1374 | ce41ea285217 |
industry_cmd.c | file | annotate | diff | comparison | revisions |
--- a/industry_cmd.c Mon Feb 14 22:17:21 2005 +0000 +++ b/industry_cmd.c Mon Feb 14 22:19:56 2005 +0000 @@ -1181,17 +1181,12 @@ static bool CheckNewIndustry_Oilwell(uint tile, int type) { - int x,y; - if(_ignore_restrictions && _game_mode == GM_EDITOR) return true; if (type != IT_OIL_RIG && _game_mode == GM_EDITOR) return true; - x = TileX(tile); - y = TileY(tile); - if (DistanceFromEdge(TILE_ADDXY(tile, 1, 1)) < 16) return true;