summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-05-06 22:32:54 +0000
committerpeter1138 <peter1138@openttd.org>2006-05-06 22:32:54 +0000
commitb0f40692d8c029167c51d5cd0b39b7c5f4ef0060 (patch)
treec03fd380bacd656236bef6dfbb143c48d73c9fe6
parent15640ca7da7241224dd0454d5c1ea7a820988544 (diff)
downloadopenttd-b0f40692d8c029167c51d5cd0b39b7c5f4ef0060.tar.xz
(svn r4762) - Newstations: make child sprites transparent.
-rw-r--r--station_cmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/station_cmd.c b/station_cmd.c
index 22c86c82a..350e4ab02 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -2060,6 +2060,7 @@ static void DrawTile_Station(TileInfo *ti)
if ((byte)dtss->delta_z != 0x80) {
AddSortableSpriteToDraw(image, ti->x + dtss->delta_x, ti->y + dtss->delta_y, dtss->width, dtss->height, dtss->unk, ti->z + dtss->delta_z);
} else {
+ MAKE_TRANSPARENT(image);
AddChildSpriteScreen(image, dtss->delta_x, dtss->delta_y);
}
}