From f51b869e697193bc0825d4e2c63ce09d1c21298a Mon Sep 17 00:00:00 2001 From: belugas Date: Fri, 8 Jun 2007 15:59:03 +0000 Subject: (svn r10064) -Fix(r10063): compile again, when changing stuff. DOn't trust first run --- src/industry.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2