(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'

This commit is contained in:
alberth
2011-02-25 21:53:43 +00:00
parent 87c8d97aca
commit 1dbc0a20be
11 changed files with 14 additions and 14 deletions

View File

@@ -151,7 +151,7 @@ static TileIndex FindRailStationEnd(TileIndex tile, TileIndexDiff delta, bool ch
if (check_type) orig_type = GetCustomStationSpecIndex(tile);
if (check_axis) orig_axis = GetRailStationAxis(tile);
while (true) {
for (;;) {
TileIndex new_tile = TILE_ADD(tile, delta);
if (!IsTileType(new_tile, MP_STATION) || GetStationIndex(new_tile) != sid) break;