changeset 6825:517d0d8a9283 draft

(svn r10064) -Fix(r10063): compile again, when changing stuff. DOn't trust first run
author belugas <belugas@openttd.org>
date Fri, 08 Jun 2007 15:59:03 +0000
parents 4d68a57bc04b
children 472d71bbd46e
files src/industry.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/industry.h
+++ b/src/industry.h
@@ -210,10 +210,10 @@
 
 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