diff options
author | peter1138 <peter1138@openttd.org> | 2006-05-03 21:25:49 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-05-03 21:25:49 +0000 |
commit | 530b4136126459729362a720142b27b77b72172b (patch) | |
tree | 610a090dee03a33a26b6d42df03a3fd21128d3a5 /station_cmd.c | |
parent | be5744ae508c1ad7baf6158d95a7a27d52656ac2 (diff) | |
download | openttd-530b4136126459729362a720142b27b77b72172b.tar.xz |
(svn r4724) - Newstations: Add per-tile random data for station tiles.
Diffstat (limited to 'station_cmd.c')
-rw-r--r-- | station_cmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/station_cmd.c b/station_cmd.c index 4774a30f5..8fd4d62d5 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -1083,6 +1083,7 @@ int32 CmdBuildRailroadStation(TileIndex tile_org, uint32 flags, uint32 p1, uint3 MakeRailStation(tile, st->owner, st->index, axis, *layout_ptr++, GB(p2, 0, 4)); SetCustomStationSpecIndex(tile, specindex); + SetStationTileRandomBits(tile, GB(Random(), 0, 4)); tile += tile_delta; } while (--w); |