summaryrefslogtreecommitdiff
path: root/tunnelbridge_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'tunnelbridge_cmd.c')
-rw-r--r--tunnelbridge_cmd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c
index b6fd9171a..7fec7bbfa 100644
--- a/tunnelbridge_cmd.c
+++ b/tunnelbridge_cmd.c
@@ -1004,8 +1004,6 @@ static void DrawTile_TunnelBridge(TileInfo *ti)
int x,y;
if (IsTransportUnderBridge(ti->tile)) {
- // draw transport route under bridge
-
// draw foundation?
if (ti->tileh) {
int f = _bridge_foundations[axis][ti->tileh];
@@ -1025,9 +1023,9 @@ static void DrawTile_TunnelBridge(TileInfo *ti)
} else {
// road
if (ti->tileh == 0) {
- image = _road_sloped_sprites[ti->tileh - 1] + 0x53F;
- } else {
image = (axis == AXIS_X ? SPR_ROAD_Y : SPR_ROAD_X);
+ } else {
+ image = _road_sloped_sprites[ti->tileh - 1] + 0x53F;
}
if (ice) image += 19;
}