# HG changeset patch # User belugas # Date 2007-06-08 15:59:03 # Node ID 73309a2be0fba4e20e5277459b5eaec1a48a25f9 # Parent 57c303504bb1046d75921d86c0479da2adf72d62 (svn r10064) -Fix(r10063): compile again, when changing stuff. DOn't trust first run diff --git a/src/industry.h b/src/industry.h --- a/src/industry.h +++ b/src/industry.h @@ -210,10 +210,10 @@ static inline IndustryID GetMaxIndustryI static inline uint GetNumIndustries() { + extern int _total_industries; // general counter return _total_industries; } -extern int _total_industries; // general counter extern uint16 _industry_counts[NUM_INDUSTRYTYPES]; // Number of industries per type ingame /** Increment the count of industries for this type