diff options
author | yexo <yexo@openttd.org> | 2009-06-12 19:44:47 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-06-12 19:44:47 +0000 |
commit | ea03c76bd61372c789d2bbc6f106c7e8b626de22 (patch) | |
tree | 5d08dd7629cbec65d218ea47a1a1ab146a90bea2 /src/station_cmd.cpp | |
parent | 1e9ddd18b395a25047665c2f9cd632bb564c9028 (diff) | |
download | openttd-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.cpp | 2 |
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) } |