Mercurial > hg > openttd
changeset 8407:5d6fd139368a draft
(svn r11977) -Fix(r11976): not a typo, not a bug. Just a removal that should have been done.
Would help to compile first...
author | belugas <belugas@openttd.org> |
---|---|
date | Thu, 24 Jan 2008 18:28:52 +0000 |
parents | 349f1614d125 |
children | e6f576f6e0e4 |
files | src/industry_cmd.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -2145,7 +2145,7 @@ /* 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);