diff options
Diffstat (limited to 'src/industry_map.h')
-rw-r--r-- | src/industry_map.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/industry_map.h b/src/industry_map.h index c6824ae54..2112b4285 100644 --- a/src/industry_map.h +++ b/src/industry_map.h @@ -12,7 +12,7 @@ #ifndef INDUSTRY_MAP_H #define INDUSTRY_MAP_H -#include "industry.h" +#include "industrytype.h" #include "tile_map.h" #include "water_map.h" @@ -70,17 +70,6 @@ static inline IndustryID GetIndustryIndex(TileIndex t) } /** - * Get the industry of the given tile - * @param t the tile to get the industry from - * @pre IsTileType(t, MP_INDUSTRY) - * @return the industry - */ -static inline Industry *GetIndustryByTile(TileIndex t) -{ - return Industry::Get(GetIndustryIndex(t)); -} - -/** * Is this industry tile fully built? * @param t the tile to analyze * @pre IsTileType(t, MP_INDUSTRY) |