--- a/industry_cmd.c Fri Apr 28 21:32:59 2006 +0000
+++ b/industry_cmd.c Fri Apr 28 21:58:16 2006 +0000
@@ -122,7 +122,7 @@
* @param thistype of industry (which is the index in _industry_specs)
* @pre thistype < IT_END
**/
-static const IndustrySpec *GetIndustrySpec(IndustryType thistype)
+const IndustrySpec *GetIndustrySpec(IndustryType thistype)
{
assert(thistype < IT_END);
return &_industry_specs[thistype];
@@ -1433,7 +1433,7 @@
if (flags & DC_EXEC) DoCreateNewIndustry(i, tile, p1, it, t, OWNER_NONE);
- return (_price.build_industry >> 5) * _industry_type_costs[p1];
+ return (_price.build_industry >> 5) * indspec->cost_multiplier;
}