summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/industry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry.h b/src/industry.h
index 38d1dca2f..303b31816 100644
--- a/src/industry.h
+++ b/src/industry.h
@@ -210,10 +210,10 @@ static inline IndustryID GetMaxIndustryIndex()
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