diff options
author | rubidium <rubidium@openttd.org> | 2007-06-24 20:06:10 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-24 20:06:10 +0000 |
commit | 1caa0f7fb7f1d2fc44fcec0201a53a491b0fda05 (patch) | |
tree | e72d8d2fea1039573b7b88c79454139708e0b609 /src/tunnelbridge_cmd.cpp | |
parent | b17b9351dd4e27fe15642655cd58bd6a3731d788 (diff) | |
download | openttd-1caa0f7fb7f1d2fc44fcec0201a53a491b0fda05.tar.xz |
(svn r10308) -Codechange: some "cleanup" chunks from B. N. SmatZ!' work on fixing FS#119.
Diffstat (limited to 'src/tunnelbridge_cmd.cpp')
-rw-r--r-- | src/tunnelbridge_cmd.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp index 1a3bc0243..291b1ff5c 100644 --- a/src/tunnelbridge_cmd.cpp +++ b/src/tunnelbridge_cmd.cpp @@ -1004,7 +1004,7 @@ static void DrawTile_TunnelBridge(TileInfo *ti) * it doesn't disappear behind it */ AddSortableSpriteToDraw( - image, pal, ti->x, ti->y, 16, 16, ti->tileh == SLOPE_FLAT ? 0 : 8, ti->z + image, pal, ti->x, ti->y, 16, 16, ti->tileh == SLOPE_FLAT ? 0 : 1, ti->z ); if (GetBridgeTransportType(ti->tile) == TRANSPORT_ROAD) { @@ -1026,6 +1026,8 @@ static void DrawTile_TunnelBridge(TileInfo *ti) } DrawBridgeMiddle(ti); + } else { + NOT_REACHED(); } } |