(svn r20289) -Codechange: Unify fall through coding style.

This commit is contained in:
terkhen
2010-08-01 20:52:11 +00:00
parent 7b62e4dc8e
commit 80c43f52e8
13 changed files with 24 additions and 16 deletions

View File

@@ -2216,8 +2216,9 @@ static int CalcHeightdiff(HighLightStyle style, uint distance, TileIndex start_t
byte style_t = (byte)(TileX(end_tile) > TileX(start_tile));
start_tile = TILE_ADD(start_tile, ToTileIndexDiff(heightdiff_area_by_dir[style_t]));
end_tile = TILE_ADD(end_tile, ToTileIndexDiff(heightdiff_area_by_dir[2 + style_t]));
/* FALL THROUGH */
}
/* FALL THROUGH */
case HT_POINT:
h0 = TileHeight(start_tile);
h1 = TileHeight(end_tile);