File diff r27614:d8a8c7942ff2 → r27615:4608ed940341
src/industry_cmd.cpp
Show inline comments
 
@@ -2428,14 +2428,13 @@ void Industry::RecomputeProductionMultip
 
		p.rate = ClampTo<uint8_t>(CeilDiv(indspec->production_rate[&p - this->produced.data()] * this->prod_level, PRODLEVEL_DEFAULT));
 
	}
 
}
 

	
 
void Industry::FillCachedName() const
 
{
 
	int64 args_array[] = { this->index };
 
	StringParameters tmp_params(args_array);
 
	auto tmp_params = MakeParameters(this->index);
 
	this->cached_name = GetStringWithArgs(STR_INDUSTRY_NAME, tmp_params);
 
}
 

	
 
void ClearAllIndustryCachedNames()
 
{
 
	for (Industry *ind : Industry::Iterate()) {