summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-01-24 18:28:52 +0000
committerbelugas <belugas@openttd.org>2008-01-24 18:28:52 +0000
commit7c50416d64a04d12a52c1271942cc1a72a9e9f6b (patch)
tree20a73bbed67417838d52e6bf9ec4b70f2ddd5aff
parente918b8d31b73bd129dedf085835461e380a27213 (diff)
downloadopenttd-7c50416d64a04d12a52c1271942cc1a72a9e9f6b.tar.xz
(svn r11977) -Fix(r11976): not a typo, not a bug. Just a removal that should have been done.
Would help to compile first...
-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);