From c4418d243ac89827b18d2925b06b29acb25fd788 Mon Sep 17 00:00:00 2001 From: frosch Date: Fri, 26 Jun 2009 20:03:16 +0000 Subject: (svn r16669) -Cleanup (r1): Only animated tiles are... animated. --- src/road_cmd.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src') diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp index 81d8b36b5..98781c36a 100644 --- a/src/road_cmd.cpp +++ b/src/road_cmd.cpp @@ -1288,12 +1288,6 @@ static Foundation GetFoundation_Road(TileIndex tile, Slope tileh) } } -static void AnimateTile_Road(TileIndex tile) -{ - if (IsLevelCrossing(tile)) MarkTileDirtyByTile(tile); -} - - static const Roadside _town_road_types[][2] = { { ROADSIDE_GRASS, ROADSIDE_GRASS }, { ROADSIDE_PAVED, ROADSIDE_PAVED }, @@ -1637,7 +1631,7 @@ extern const TileTypeProcs _tile_type_road_procs = { GetTileDesc_Road, // get_tile_desc_proc GetTileTrackStatus_Road, // get_tile_track_status_proc ClickTile_Road, // click_tile_proc - AnimateTile_Road, // animate_tile_proc + NULL, // animate_tile_proc TileLoop_Road, // tile_loop_clear ChangeTileOwner_Road, // change_tile_owner_clear NULL, // get_produced_cargo_proc -- cgit v1.2.3-70-g09d2