(svn r16569) -Codechange: remove the gaps in the AirportTiles enum

This commit is contained in:
yexo
2009-06-12 19:44:47 +00:00
parent 7d4e41c977
commit eed0de5166
2 changed files with 101 additions and 101 deletions

View File

@@ -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)
}