changeset 7083:10f12089c3d7 draft

(svn r10348) -Fix (r10347): compile errors; do not think it compiles fine when you run make on the wrong working copy.
author rubidium <rubidium@openttd.org>
date Tue, 26 Jun 2007 21:17:51 +0000
parents bb0f22d341f6
children d93eec143502
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
@@ -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;
 				}