summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-08-05 12:06:53 +0000
committeryexo <yexo@openttd.org>2010-08-05 12:06:53 +0000
commitf8b7163b34e098082b6222768966620753c4ccae (patch)
tree9884422e6f80ad56a09a3059f8d333f6ee6d4c49 /src/station_cmd.cpp
parent2e6713ce956d42f55f0f6f34fe12ec8459dc0ab4 (diff)
downloadopenttd-f8b7163b34e098082b6222768966620753c4ccae.tar.xz
(svn r20375) -Codechange: make sure the watertype for existing airport tiles is set to invalid
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 326567909..8e7136543 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -2225,7 +2225,7 @@ CommandCost CmdBuildAirport(TileIndex tile, DoCommandFlag flags, uint32 p1, uint
it = as->table[layout];
do {
TileIndex cur_tile = tile + ToTileIndexDiff(it->ti);
- MakeAirport(cur_tile, st->owner, st->index, it->gfx);
+ MakeAirport(cur_tile, st->owner, st->index, it->gfx, WATER_CLASS_INVALID);
SetStationTileRandomBits(cur_tile, GB(Random(), 0, 4));
st->airport.Add(cur_tile);