diff options
author | tron <tron@openttd.org> | 2006-03-12 08:47:18 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-03-12 08:47:18 +0000 |
commit | 6c30c9ae4db39a90c584a887c5c24ca503354438 (patch) | |
tree | 9447f20978cae7e476bbeaca8f21b6a8386943d0 | |
parent | 86491ca2574b1f650bab7c1ede71236412d243f5 (diff) | |
download | openttd-6c30c9ae4db39a90c584a887c5c24ca503354438.tar.xz |
(svn r3823) Remove dead code: A value for 'image' gets calculated and overwritten just a few lines later without being used in between
-rw-r--r-- | tunnelbridge_cmd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c index 37576556b..84a1ec4a1 100644 --- a/tunnelbridge_cmd.c +++ b/tunnelbridge_cmd.c @@ -1002,9 +1002,6 @@ static void DrawTile_TunnelBridge(TileInfo *ti) 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 */ |