summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-03-16 07:18:38 +0000
committertron <tron@openttd.org>2006-03-16 07:18:38 +0000
commita3c45635a77473016a1145e4a586b7a2a5527cda (patch)
tree1ffc175d6028449c918b90362a447d0309f15741
parent1257d9e565e82ea71565995111ca7ec7c17a8724 (diff)
downloadopenttd-a3c45635a77473016a1145e4a586b7a2a5527cda.tar.xz
(svn r3903) Fix a copy&pasto in last commit and remove a redundant comment (the line above already says what's going on)
-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;
}