From c17c743ed46caf0fa0d8e5c2883becdece13c1e8 Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 14 Feb 2005 22:19:56 +0000 Subject: (svn r1877) Forgot to remove two now unused variables --- industry_cmd.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/industry_cmd.c b/industry_cmd.c index 67c496820..75d278a28 100644 --- a/industry_cmd.c +++ b/industry_cmd.c @@ -1181,17 +1181,12 @@ extern bool _ignore_restrictions; 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; -- cgit v1.2.3-70-g09d2