summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-07-15 00:45:02 +0000
committerglx <glx@openttd.org>2007-07-15 00:45:02 +0000
commit9f2ca45987613e2f1e4d3397ada803762a7e7a8c (patch)
tree0cdbefdc49e208ba7d98a7a4d3881dd5da691dea /src
parent1bee8733768b08764f344f38dbd4b14d58e1c7a5 (diff)
downloadopenttd-9f2ca45987613e2f1e4d3397ada803762a7e7a8c.tar.xz
(svn r10575) -Fix r10573: misplaced )
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 d4ade135b..f18000661 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -1682,7 +1682,7 @@ void GenerateIndustries()
}
chance = ind_spc->appear_creation[_opt.landscape];
- if (ind_spc->enabled) && chance > 0 {
+ if (ind_spc->enabled && chance > 0) {
/* once the chance of appearance is determind, it have to be scaled by
* the difficulty level. The "chance" in question is more an index into
* the _numof_industry_table,in fact */