(svn r10308) -Codechange: some "cleanup" chunks from B. N. SmatZ!' work on fixing FS#119.

This commit is contained in:
rubidium
2007-06-24 20:06:10 +00:00
parent d92d65a99a
commit 949fc3d78c
3 changed files with 6 additions and 5 deletions

View File

@@ -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();
}
}