Changeset - r6825:73309a2be0fb
[Not reviewed]
master
0 1 0
belugas - 17 years ago 2007-06-08 15:59:03
belugas@openttd.org
(svn r10064) -Fix(r10063): compile again, when changing stuff. DOn't trust first run
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/industry.h
Show inline comments
 
@@ -207,16 +207,16 @@ static inline IndustryID GetMaxIndustryI
 
	 */
 
	return GetIndustryPoolSize() - 1;
 
}
 

	
 
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
 
 * @param type IndustryType to increment
 
 * @pre type < INVALID_INDUSTRYTYPE */
 
static inline void IncIndustryTypeCount(IndustryType type)
0 comments (0 inline, 0 general)