Changeset - r7262:e8edcc3d5089
[Not reviewed]
master
0 1 0
glx - 17 years ago 2007-07-15 00:45:02
glx@openttd.org
(svn r10575) -Fix r10573: misplaced )
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/industry_cmd.cpp
Show inline comments
 
@@ -1679,13 +1679,13 @@ void GenerateIndustries()
 

	
 
			if (!CheckIfCallBackAllowsAvailability(it, IACT_MAPGENERATION)) {
 
				ResetIndustryCreationProbility(it);
 
			}
 

	
 
			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 */
 
				int num = (chance < 11) ? chance : _numof_industry_table[_opt.diff.number_industries][chance];
 

	
 
				/* These are always placed next to the coastline, so we scale by the perimeter instead. */
0 comments (0 inline, 0 general)