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
commit735c47d7d71bdbf05240f97346007ff03c46a289 (patch)
tree44d2415223b934b850d972ed81b57928a81412bb /src
parent667e8eaaf82393436e72c90d9880181faba7ca88 (diff)
downloadopenttd-735c47d7d71bdbf05240f97346007ff03c46a289.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;
}