File diff r7318:844268a38029 → r7319:94412b8dacf8
src/industry_gui.cpp
Show inline comments
 
@@ -114,7 +114,7 @@ static void BuildDynamicIndustryWndProc(
 

	
 
			/* We'll perform two distinct loops, one for secondary industries, and the other one for
 
			 * primary ones. Each loop will fill the _fund_gui structure. */
 
			for (ind = IT_COAL_MINE; ind < NUM_INDUSTRYTYPES; ind++) {
 
			for (ind = 0; ind < NUM_INDUSTRYTYPES; ind++) {
 
				indsp = GetIndustrySpec(ind);
 
				if (indsp->enabled && (!indsp->IsRawIndustry() || _game_mode == GM_EDITOR)) {
 
					_fund_gui.index[_fund_gui.count] = ind;
 
@@ -124,7 +124,7 @@ static void BuildDynamicIndustryWndProc(
 
			}
 

	
 
			if (_patches.raw_industry_construction != 0 && _game_mode != GM_EDITOR) {
 
				for (ind = IT_COAL_MINE; ind < NUM_INDUSTRYTYPES; ind++) {
 
				for (ind = 0; ind < NUM_INDUSTRYTYPES; ind++) {
 
					indsp = GetIndustrySpec(ind);
 
					if (indsp->enabled && indsp->IsRawIndustry()) {
 
						_fund_gui.index[_fund_gui.count] = ind;