From 44d085af6c9bfd9113d9055eb3f1deb686c6f63e Mon Sep 17 00:00:00 2001 From: belugas Date: Thu, 24 Jan 2008 18:28:52 +0000 Subject: [PATCH] (svn r11977) -Fix(r11976): not a typo, not a bug. Just a removal that should have been done. Would help to compile first... --- src/industry_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index 13774b41af..0532a16040 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -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);