summaryrefslogtreecommitdiff
path: root/src/industry_map.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-26 19:29:20 +0000
committerrubidium <rubidium@openttd.org>2010-08-26 19:29:20 +0000
commit08a41c6ee5f1500fcd472e953b2341ef996cb901 (patch)
tree5a6b472d492733b8747c3b02d7421190d6b08bce /src/industry_map.h
parent327451e820fb4429806e4bcfa2ed824ea3858f5a (diff)
downloadopenttd-08a41c6ee5f1500fcd472e953b2341ef996cb901.tar.xz
(svn r20631) -Codechange: generalise IsIndustryTileOnWater + simplify so related code
Diffstat (limited to 'src/industry_map.h')
-rw-r--r--src/industry_map.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/industry_map.h b/src/industry_map.h
index 39d8169e6..33f60ff5d 100644
--- a/src/industry_map.h
+++ b/src/industry_map.h
@@ -157,17 +157,6 @@ static inline void SetIndustryGfx(TileIndex t, IndustryGfx gfx)
}
/**
- * Tests if the industry tile was built on water.
- * @param t the industry tile
- * @return true iff on water
- */
-static inline bool IsIndustryTileOnWater(TileIndex t)
-{
- assert(IsTileType(t, MP_INDUSTRY));
- return (GetWaterClass(t) != WATER_CLASS_INVALID);
-}
-
-/**
* Returns this indutry tile's construction counter value
* @param tile the tile to query
* @pre IsTileType(tile, MP_INDUSTRY)