summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-26 21:17:51 +0000
committerrubidium <rubidium@openttd.org>2007-06-26 21:17:51 +0000
commitab52e3da5295dd8b6eb88f4740f21bfb59c07b5f (patch)
tree44d2415223b934b850d972ed81b57928a81412bb /src
parent89a4ee256ef6ce4ca9a54984753bb13ce5db45a8 (diff)
downloadopenttd-ab52e3da5295dd8b6eb88f4740f21bfb59c07b5f.tar.xz
(svn r10348) -Fix (r10347): compile errors; do not think it compiles fine when you run make on the wrong working copy.
Diffstat (limited to 'src')
-rw-r--r--src/industry_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index 21c08ee1a..188a701a5 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -1648,7 +1648,7 @@ static void ExtChangeIndustryProduction(Industry *i)
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;
}