(svn r10348) -Fix (r10347): compile errors; do not think it compiles fine when you run make on the wrong working copy.
authorrubidium
Tue, 26 Jun 2007 21:17:51 +0000
changeset 7579 e9bfe6b8764e
parent 7578 c9aa99cf6f80
child 7580 0d05936bc612
(svn r10348) -Fix (r10347): compile errors; do not think it compiles fine when you run make on the wrong working copy.
src/industry_cmd.cpp
--- a/src/industry_cmd.cpp	Tue Jun 26 21:11:17 2007 +0000
+++ b/src/industry_cmd.cpp	Tue Jun 26 21:17:51 2007 +0000
@@ -1648,7 +1648,7 @@
 
 				new_prod = clamp(new_prod, 1, 255);
 				/* Do not stop closing the industry when it has the lowest possible production rate */
-				if (new_prod == old_prod && && old_prod > 1)) {
+				if (new_prod == old_prod && old_prod > 1) {
 					closeit = false;
 					continue;
 				}