Changeset - r7821:fa78d014e724
[Not reviewed]
master
0 1 0
rubidium - 17 years ago 2007-11-03 15:21:26
rubidium@openttd.org
(svn r11371) -Fix [FS#1396]: the industry protection only kicked in when it should not kick in.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/industry_cmd.cpp
Show inline comments
 
@@ -1841,7 +1841,7 @@ static bool CheckIndustryCloseDownProtec
 

	
 
	/* oil wells (or the industries with that flag set) are always allowed to closedown */
 
	if (indspec->behaviour & INDUSTRYBEH_DONT_INCR_PROD && _opt.landscape == LT_TEMPERATE) return false;
 
	return (indspec->behaviour & INDUSTRYBEH_CANCLOSE_LASTINSTANCE && GetIndustryTypeCount(type) <= 1);
 
	return (indspec->behaviour & INDUSTRYBEH_CANCLOSE_LASTINSTANCE) == 0 && GetIndustryTypeCount(type) <= 1;
 
}
 

	
 
/** Change industry production or do closure
0 comments (0 inline, 0 general)