From 6474a5a95759641feb93edf7cc34c2f58bb23eb2 Mon Sep 17 00:00:00 2001 From: glx Date: Sun, 15 Jul 2007 00:45:02 +0000 Subject: [PATCH] (svn r10575) -Fix r10573: misplaced ) --- src/industry_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index d4ade135be..f180006610 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 */