summaryrefslogtreecommitdiff
path: root/rail_cmd.c
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
commitfbbaa57001e66c9dcd24d0355d00ef5e7b711c09 (patch)
tree92dad28175a8039c03be1136ba61f55c0c6b5709 /rail_cmd.c
parent8193ee2b04aecd0e283d61850933f129407208a6 (diff)
downloadopenttd-fbbaa57001e66c9dcd24d0355d00ef5e7b711c09.tar.xz
(svn r6268) Remove now pointless assignment (followup of r6267)
Diffstat (limited to 'rail_cmd.c')
-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: