diff options
author | belugas <belugas@openttd.org> | 2008-01-24 18:28:52 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-01-24 18:28:52 +0000 |
commit | 44d085af6c9bfd9113d9055eb3f1deb686c6f63e (patch) | |
tree | 20a73bbed67417838d52e6bf9ec4b70f2ddd5aff | |
parent | 1fc0c0d2dcca7de6d325ccead6f733cf03b3d9ab (diff) | |
download | openttd-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...
-rw-r--r-- | src/industry_cmd.cpp | 2 |
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); |