diff options
Diffstat (limited to 'src/ai/api/ai_tile.cpp')
-rw-r--r-- | src/ai/api/ai_tile.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ai/api/ai_tile.cpp b/src/ai/api/ai_tile.cpp index 42b95241a..78fc27421 100644 --- a/src/ai/api/ai_tile.cpp +++ b/src/ai/api/ai_tile.cpp @@ -130,14 +130,6 @@ return (Slope)::ComplementSlope((::Slope)slope); } -/* static */ int32 AITile::GetHeight(TileIndex tile) -{ - AILog::Warning("AITile::GetHeight is deprecated and will be removed soon, please use GetMinHeight/GetMaxHeight/GetCornerHeight instead."); - if (!::IsValidTile(tile)) return -1; - - return ::TileHeight(tile); -} - /* static */ int32 AITile::GetMinHeight(TileIndex tile) { if (!::IsValidTile(tile)) return -1; |