summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-06-26 20:03:16 +0000
committerfrosch <frosch@openttd.org>2009-06-26 20:03:16 +0000
commitc4418d243ac89827b18d2925b06b29acb25fd788 (patch)
tree0f9e354ad052d4f5b96617d061f4b2fdf7b9d42e /src
parent9e84a6ae1c6672da8ef3642af2af3871592b58e5 (diff)
downloadopenttd-c4418d243ac89827b18d2925b06b29acb25fd788.tar.xz
(svn r16669) -Cleanup (r1): Only animated tiles are... animated.
Diffstat (limited to 'src')
-rw-r--r--src/road_cmd.cpp8
1 files changed, 1 insertions, 7 deletions
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