summaryrefslogtreecommitdiff
path: root/rail_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'rail_cmd.c')
-rw-r--r--rail_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_cmd.c b/rail_cmd.c
index ace3b5a16..9e63f870d 100644
--- a/rail_cmd.c
+++ b/rail_cmd.c
@@ -1425,7 +1425,7 @@ static void DrawSpecialBuilding(uint32 image, uint32 tracktype_offs,
if (image & 0x8000)
image |= _drawtile_track_palette;
image += tracktype_offs;
- if (!(_display_opt & DO_TRANS_BUILDINGS)) // show transparent depots
+ if (_display_opt & DO_TRANS_BUILDINGS) // show transparent depots
image = (image & 0x3FFF) | 0x3224000;
AddSortableSpriteToDraw(image, ti->x + x, ti->y + y, xsize, ysize, zsize, ti->z + z);
}