File diff r13023:9f6499c8d4fb → r13024:48c81d0b078a
src/industry_cmd.cpp
Show inline comments
 
@@ -1891,13 +1891,13 @@ static void UpdateIndustryStatistics(Ind
 
			i->last_month_transported[j] = i->this_month_transported[j];
 
			i->this_month_transported[j] = 0;
 
			refresh = true;
 
		}
 
	}
 

	
 
	if (refresh) InvalidateWindow(WC_INDUSTRY_VIEW, i->index);
 
	if (refresh) SetWindowDirty(WC_INDUSTRY_VIEW, i->index);
 
}
 

	
 
/** Simple helper that will collect data for the generation of industries */
 
struct ProbabilityHelper {
 
	uint16 prob;      ///< probability
 
	IndustryType ind; ///< industry id correcponding