changeset 7 | f2e623faa778 |
parent 0 | 29654efe3188 |
child 39 | d177340ed556 |
--- a/industry_cmd.c Tue Aug 10 15:00:15 2004 +0000 +++ b/industry_cmd.c Tue Aug 10 16:12:40 2004 +0000 @@ -1110,9 +1110,15 @@ return true; } +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;