From a2cec54c9d880243617b16972528e305d743014d Mon Sep 17 00:00:00 2001 From: peter1138 Date: Thu, 5 Apr 2007 07:49:04 +0000 Subject: (svn r9563) -Feature: Add more finer control to transparency options, including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01. --- src/industry_cmd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/industry_cmd.cpp') diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index 7187ffe28..a6a5c07aa 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -259,7 +259,7 @@ static void DrawTile_Industry(TileInfo *ti) /* Add industry on top of the ground? */ image = dits->building.sprite; if (image != 0) { - if (_display_opt & DO_TRANS_BUILDINGS) { + if (HASBIT(_transparent_opt, TO_INDUSTRIES)) { SETBIT(image, PALETTE_MODIFIER_TRANSPARENT); pal = PALETTE_TO_TRANSPARENT; } else { @@ -274,7 +274,7 @@ static void DrawTile_Industry(TileInfo *ti) dits->dz, z); - if (_display_opt & DO_TRANS_BUILDINGS) return; + if (HASBIT(_transparent_opt, TO_INDUSTRIES)) return; } { -- cgit v1.2.3-70-g09d2