summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-06-08 15:59:03 +0000
committerbelugas <belugas@openttd.org>2007-06-08 15:59:03 +0000
commitf51b869e697193bc0825d4e2c63ce09d1c21298a (patch)
treeb73210255e07f0ba82a4cdc4f0900a5b231c1cd8 /src
parent7586143e3bafe14247953cc3c0b322d32ffe3ac8 (diff)
downloadopenttd-f51b869e697193bc0825d4e2c63ce09d1c21298a.tar.xz
(svn r10064) -Fix(r10063): compile again, when changing stuff. DOn't trust first run
Diffstat (limited to 'src')
-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