(svn r11977) -Fix(r11976): not a typo, not a bug. Just a removal that should have been done.
authorbelugas
Thu, 24 Jan 2008 18:28:52 +0000
changeset 8407 300670fddaae
parent 8406 0f86dbef7522
child 8408 cab5989c2ce2
(svn r11977) -Fix(r11976): not a typo, not a bug. Just a removal that should have been done.
Would help to compile first...
src/industry_cmd.cpp
--- a/src/industry_cmd.cpp	Thu Jan 24 18:16:04 2008 +0000
+++ b/src/industry_cmd.cpp	Thu Jan 24 18:28:52 2008 +0000
@@ -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);