summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-08-31 12:19:32 +0000
committertron <tron@openttd.org>2006-08-31 12:19:32 +0000
commitd3f5b7da3ea3079511d75438131bedfd98586b05 (patch)
tree92dad28175a8039c03be1136ba61f55c0c6b5709
parentf3c80209028f3380d735bc3212e1daba0ae6c2e7 (diff)
downloadopenttd-d3f5b7da3ea3079511d75438131bedfd98586b05.tar.xz
(svn r6268) Remove now pointless assignment (followup of r6267)
-rw-r--r--rail_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_cmd.c b/rail_cmd.c
index ac547d6af..dad84f79b 100644
--- a/rail_cmd.c
+++ b/rail_cmd.c
@@ -1757,7 +1757,7 @@ static void AnimateTile_Track(TileIndex tile)
static void TileLoop_Track(TileIndex tile)
{
RailGroundType old_ground = GetRailGroundType(tile);
- RailGroundType new_ground = old_ground;
+ RailGroundType new_ground;
switch (_opt.landscape) {
case LT_HILLY: