changeset 1270 | 7f8be19a9a3f |
parent 1269 | 80a25996584f |
child 1287 | 450ecf56b3c8 |
--- a/industry_cmd.c Wed Feb 02 19:08:34 2005 +0000 +++ b/industry_cmd.c Wed Feb 02 19:15:35 2005 +0000 @@ -1862,7 +1862,8 @@ MaybeNewIndustry(Random()); } else if (!_patches.smooth_economy && _total_industries > 0) { i = GetIndustry(RandomRange(_total_industries)); - MaybeCloseIndustry(i); + if (i->xy != 0) + MaybeCloseIndustry(i); } _current_player = old_player;