mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r3823) Remove dead code: A value for 'image' gets calculated and overwritten just a few lines later without being used in between
This commit is contained in:
parent
e63e3bb84c
commit
b9ade45008
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user