(svn r10064) -Fix(r10063): compile again, when changing stuff. DOn't trust first run
authorbelugas
Fri, 08 Jun 2007 15:59:03 +0000
changeset 7321 2a9af837d423
parent 7320 052da893fbd9
child 7322 e018c792e9b9
(svn r10064) -Fix(r10063): compile again, when changing stuff. DOn't trust first run
src/industry.h
--- a/src/industry.h	Fri Jun 08 15:48:48 2007 +0000
+++ b/src/industry.h	Fri Jun 08 15:59:03 2007 +0000
@@ -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