summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/industry_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index 13774b41a..0532a1604 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);