diff options
author | yexo <yexo@openttd.org> | 2010-02-22 14:17:33 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-02-22 14:17:33 +0000 |
commit | cfc1571931d0cce31e82cb68ab2cc74e69aa4514 (patch) | |
tree | ff9545e13b38e20cde3cac717bb2c96eb9c52050 /src/station_cmd.cpp | |
parent | 2b871fe95354dbc6187aa72e74517df9f46a0fa3 (diff) | |
download | openttd-cfc1571931d0cce31e82cb68ab2cc74e69aa4514.tar.xz |
(svn r19201) -Codechange: airport tiles now have 4 random bits per tile.
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r-- | src/station_cmd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index ad0eaa4a6..6409fac44 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -2076,6 +2076,7 @@ CommandCost CmdBuildAirport(TileIndex tile, DoCommandFlag flags, uint32 p1, uint do { TileIndex cur_tile = tile + ToTileIndexDiff(it->ti); MakeAirport(cur_tile, st->owner, st->index, it->gfx); + SetStationTileRandomBits(cur_tile, GB(Random(), 0, 4)); st->airport.Add(cur_tile); if (AirportTileSpec::Get(GetTranslatedAirportTileID(it->gfx))->animation_info != 0xFFFF) AddAnimatedTile(cur_tile); |