mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r11977) -Fix(r11976): not a typo, not a bug. Just a removal that should have been done.
Would help to compile first...
This commit is contained in:
parent
1fc0c0d2dc
commit
44d085af6c
|
@ -2145,7 +2145,7 @@ static void ChangeIndustryProduction(Industry *i, bool monthly)
|
|||
|
||||
/* Increase or Decreasing the production level if needed */
|
||||
if (increment != 0) {
|
||||
if !(increment < 0 && i->prod_level == 4) {
|
||||
if (increment < 0 && i->prod_level == 4) {
|
||||
closeit = true;
|
||||
} else {
|
||||
i->prod_level = ClampU(i->prod_level + increment, 4, 0x80);
|
||||
|
|
Loading…
Reference in New Issue