# HG changeset patch # User belugas # Date 2008-01-24 18:28:52 # Node ID d951b027a75a5423d16d39f1af758ad47bf5ef1c # Parent 5987646ec6528d4cfc4778c6297599cfcb738a48 (svn r11977) -Fix(r11976): not a typo, not a bug. Just a removal that should have been done. Would help to compile first... diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -2145,7 +2145,7 @@ static void ChangeIndustryProduction(Ind /* 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);