forked from mirror/OpenTTD
(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:
@@ -2145,7 +2145,7 @@ static void ChangeIndustryProduction(Industry *i, bool monthly)
|
|||||||
|
|
||||||
/* Increase or Decreasing the production level if needed */
|
/* Increase or Decreasing the production level if needed */
|
||||||
if (increment != 0) {
|
if (increment != 0) {
|
||||||
if !(increment < 0 && i->prod_level == 4) {
|
if (increment < 0 && i->prod_level == 4) {
|
||||||
closeit = true;
|
closeit = true;
|
||||||
} else {
|
} else {
|
||||||
i->prod_level = ClampU(i->prod_level + increment, 4, 0x80);
|
i->prod_level = ClampU(i->prod_level + increment, 4, 0x80);
|
||||||
|
Reference in New Issue
Block a user