# HG changeset patch # User tron # Date 1142153238 0 # Node ID 58fb7ebd7de195e4946e21930227dd7b63684562 # Parent 2123f8062a2d11102c531a0e2d192fb3a37c7581 (svn r3823) Remove dead code: A value for 'image' gets calculated and overwritten just a few lines later without being used in between diff -r 2123f8062a2d -r 58fb7ebd7de1 tunnelbridge_cmd.c --- a/tunnelbridge_cmd.c Sat Mar 11 17:06:16 2006 +0000 +++ b/tunnelbridge_cmd.c Sun Mar 12 08:47:18 2006 +0000 @@ -1002,9 +1002,6 @@ if (!(BRIDGE_NO_FOUNDATION & (1 << ti->tileh))) { // no foundations for 0, 3, 6, 9, 12 int f = GetBridgeFoundation(ti->tileh, ti->map5 & 0x1); // pass direction if (f) DrawFoundation(ti, f); - - // default sloped sprites.. - if (ti->tileh != 0) image = SPR_RAIL_TRACK_Y + _track_sloped_sprites[ti->tileh - 1]; } /* Cope for the direction of the bridge */