diff options
Diffstat (limited to 'src/landscape.cpp')
-rw-r--r-- | src/landscape.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/landscape.cpp b/src/landscape.cpp index 6bad6e8a4..957f7b185 100644 --- a/src/landscape.cpp +++ b/src/landscape.cpp @@ -919,8 +919,3 @@ TileIndex AdjustTileCoordRandomly(TileIndex a, byte rng) TileY(a) + (GB(r, 8, 8) * rn * 2 >> 8) - rn )); } - -bool IsValidTile(TileIndex tile) -{ - return (tile < MapSizeX() * MapMaxY() && TileX(tile) != MapMaxX()); -} |