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
commitdc89ed73eebca54527836233e87d240ef0adbe63 (patch)
treeb73210255e07f0ba82a4cdc4f0900a5b231c1cd8 /src
parent256ee6054585c0662a0161b86b2dd018be8e46af (diff)
downloadopenttd-dc89ed73eebca54527836233e87d240ef0adbe63.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