summaryrefslogtreecommitdiff
path: root/src/industry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/industry.h')
-rw-r--r--src/industry.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/industry.h b/src/industry.h
index c0f632cf1..988d6e0bb 100644
--- a/src/industry.h
+++ b/src/industry.h
@@ -265,16 +265,6 @@ void BuildIndustriesLegend();
/* industry_cmd.cpp */
void SetIndustryDailyChanges();
-static inline IndustryID GetMaxIndustryIndex()
-{
- /* TODO - This isn't the real content of the function, but
- * with the new pool-system this will be replaced with one that
- * _really_ returns the highest index. Now it just returns
- * the next safe value we are sure about everything is below.
- */
- return Industry::GetPoolSize() - 1;
-}
-
extern int _total_industries; // general counter
extern uint16 _industry_counts[NUM_INDUSTRYTYPES]; // Number of industries per type ingame