# HG changeset patch # User glx # Date 2007-07-15 00:45:02 # Node ID e8edcc3d50893a05ddbb7f7963880c605ff51080 # Parent 94a663e7f4ac36e0006892a5861fd7cda05857cf (svn r10575) -Fix r10573: misplaced ) diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp --- 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 */