# HG changeset patch # User Darkvater # Date 1116008366 0 # Node ID 39966454c43410a5fdc64f5536dc12d4ead51ba5 # Parent 05d56d2d0fea4d522b314461690b1f1c752f3b23 (svn r2304) - Fix (regression): excuse the Lumber mill from the list of raw-industries build-restriction, as it can be built always, patch-setting, or no patch-setting. diff -r 05d56d2d0fea -r 39966454c434 industry_cmd.c --- a/industry_cmd.c Fri May 13 17:09:05 2005 +0000 +++ b/industry_cmd.c Fri May 13 18:19:26 2005 +0000 @@ -1576,9 +1576,10 @@ spec = &_industry_spec[p1]; /* If the patch for non-raw-material industries is not on, you cannot build raw-material industries. - * Raw material industries are industries that do not accept cargo (at least for now) */ + * Raw material industries are industries that do not accept cargo (at least for now) + * Exclude industry 25, which is the lumber mill (only "raw" industry that can be built)*/ if (!_patches.build_rawmaterial_ind && spec->accepts_cargo[0] == 255 && - spec->accepts_cargo[1] == 255 && spec->accepts_cargo[2] == 255) return CMD_ERROR; + spec->accepts_cargo[1] == 255 && spec->accepts_cargo[2] == 255 && p1 != 25) return CMD_ERROR; if (!_check_new_industry_procs[spec->check_proc](tile, p1)) return CMD_ERROR;