summaryrefslogtreecommitdiff
path: root/src/landscape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/landscape.cpp')
-rw-r--r--src/landscape.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/landscape.cpp b/src/landscape.cpp
index 1ddd2bcfe..998a552d4 100644
--- a/src/landscape.cpp
+++ b/src/landscape.cpp
@@ -951,14 +951,3 @@ void CallLandscapeTick()
OnTick_Companies();
OnTick_Train();
}
-
-TileIndex AdjustTileCoordRandomly(TileIndex a, byte rng)
-{
- int rn = rng;
- uint32 r = Random();
-
- return TILE_MASK(TileXY(
- TileX(a) + (GB(r, 0, 8) * rn * 2 >> 8) - rn,
- TileY(a) + (GB(r, 8, 8) * rn * 2 >> 8) - rn
- ));
-}