# HG changeset patch # User rubidium # Date 2007-06-26 21:17:51 # Node ID 89f02d5b9eef63da3c9a99818026441de52e9756 # Parent 2097c006bc7f166dc82f7a2b3890030ea96bbae6 (svn r10348) -Fix (r10347): compile errors; do not think it compiles fine when you run make on the wrong working copy. diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -1648,7 +1648,7 @@ static void ExtChangeIndustryProduction( 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; }