diff options
author | tron <tron@openttd.org> | 2005-02-14 22:19:56 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-02-14 22:19:56 +0000 |
commit | 8827cde89ef1093c796b5741430065be1d5c7292 (patch) | |
tree | 89cdcf754cb4a431a00b3ed42a7d9c6ffdfc4408 /industry_cmd.c | |
parent | 943744751acd38b5ca8fb6d9513b370f87ee0fac (diff) | |
download | openttd-8827cde89ef1093c796b5741430065be1d5c7292.tar.xz |
(svn r1877) Forgot to remove two now unused variables
Diffstat (limited to 'industry_cmd.c')
-rw-r--r-- | industry_cmd.c | 5 |
1 files changed, 0 insertions, 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; |