summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-06-12 19:44:47 +0000
committeryexo <yexo@openttd.org>2009-06-12 19:44:47 +0000
commitea03c76bd61372c789d2bbc6f106c7e8b626de22 (patch)
tree5d08dd7629cbec65d218ea47a1a1ab146a90bea2 /src/station_cmd.cpp
parent1e9ddd18b395a25047665c2f9cd632bb564c9028 (diff)
downloadopenttd-ea03c76bd61372c789d2bbc6f106c7e8b626de22.tar.xz
(svn r16569) -Codechange: remove the gaps in the AirportTiles enum
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 fd4f505a8..2c86a3fa5 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -1835,7 +1835,7 @@ CommandCost CmdBuildAirport(TileIndex tile, DoCommandFlag flags, uint32 p1, uint
const byte *b = _airport_sections[p1];
BEGIN_TILE_LOOP(tile_cur, w, h, tile) {
- MakeAirport(tile_cur, st->owner, st->index, *b - ((*b < 67) ? 8 : 24));
+ MakeAirport(tile_cur, st->owner, st->index, *b);
b++;
} END_TILE_LOOP(tile_cur, w, h, tile)
}