summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-24 20:17:39 +0000
committerrubidium <rubidium@openttd.org>2007-06-24 20:17:39 +0000
commit58451059debb034a4620c383a4308ea2b34a01c2 (patch)
treebe1e8b5107f66e9db51794d79437d495818ecf40
parent1caa0f7fb7f1d2fc44fcec0201a53a491b0fda05 (diff)
downloadopenttd-58451059debb034a4620c383a4308ea2b34a01c2.tar.xz
(svn r10309) -Revert (part of r10308): "fixing" the bounding box for bridge entrances reveals one of the bugs that will be fixed when FS#119 is fixed.
-rw-r--r--src/tunnelbridge_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp
index 291b1ff5c..e4ed8bf5f 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 : 1, ti->z
+ image, pal, ti->x, ti->y, 16, 16, ti->tileh == SLOPE_FLAT ? 0 : 8, ti->z
);
if (GetBridgeTransportType(ti->tile) == TRANSPORT_ROAD) {