From 1fed0046ac63119a6bc0f6bd4740fb7a2076f5da Mon Sep 17 00:00:00 2001 From: celestar Date: Wed, 20 Jul 2005 22:05:13 +0000 Subject: (svn r2658) -Codechange: Use MAKE_TRANSPARENT to display a transparented sprite --- station_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'station_cmd.c') diff --git a/station_cmd.c b/station_cmd.c index c76965c51..57e2db3d5 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -2188,7 +2188,7 @@ static void DrawTile_Station(TileInfo *ti) image = dtss->image + relocation; image += type_offset; if (_display_opt & DO_TRANS_BUILDINGS) { - image = (image & 0x3FFF) | 0x03224000; + MAKE_TRANSPARENT(image); } else { if (image&0x8000) image |= image_or_modificator; } -- cgit v1.2.3-54-g00ecf