summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
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
commit44d085af6c9bfd9113d9055eb3f1deb686c6f63e (patch)
tree20a73bbed67417838d52e6bf9ec4b70f2ddd5aff /src/industry_cmd.cpp
parent1fc0c0d2dcca7de6d325ccead6f733cf03b3d9ab (diff)
downloadopenttd-44d085af6c9bfd9113d9055eb3f1deb686c6f63e.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...
Diffstat (limited to 'src/industry_cmd.cpp')
-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);