diff options
-rw-r--r-- | rail_cmd.c | 2 | ||||
-rw-r--r-- | road_cmd.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/rail_cmd.c b/rail_cmd.c index 1d14caf2d..ad0ce8e41 100644 --- a/rail_cmd.c +++ b/rail_cmd.c @@ -1541,7 +1541,7 @@ static void DrawTile_Track(TileInfo *ti) if (image & 0x8000) image |= _drawtile_track_palette; image += tracktype_offs; - if (!(_display_opt & DO_TRANS_BUILDINGS)) + if (!(_display_opt & DO_TRANS_BUILDINGS)) // show transparent depots image = (image & 0x3FFF) | 0x3224000; AddSortableSpriteToDraw(image, ti->x | drss->subcoord_x, ti->y | drss->subcoord_y, drss->width, drss->height, 0x17, ti->z); diff --git a/road_cmd.c b/road_cmd.c index e6e1fa76a..3547c1cfd 100644 --- a/road_cmd.c +++ b/road_cmd.c @@ -817,6 +817,8 @@ static void DrawTile_Road(TileInfo *ti) while ((image=drss->image) != 0) { if (image & 0x8000) image |= ormod; + if (!(_display_opt & DO_TRANS_BUILDINGS)) // show transparent depots + image = (image & 0x3FFF) | 0x3224000; AddSortableSpriteToDraw(image, ti->x | drss->subcoord_x, ti->y | drss->subcoord_y, drss->width, drss->height, 0x14, ti->z); |