forked from mirror/OpenTTD
(svn r2658) -Codechange: Use MAKE_TRANSPARENT to display a transparented sprite
This commit is contained in:
@@ -874,7 +874,7 @@ static void DrawTile_Road(TileInfo *ti)
|
||||
if (image & 0x8000)
|
||||
image |= ormod;
|
||||
if (_display_opt & DO_TRANS_BUILDINGS) // show transparent depots
|
||||
image = (image & 0x3FFF) | 0x3224000;
|
||||
MAKE_TRANSPARENT(image);
|
||||
|
||||
AddSortableSpriteToDraw(image, ti->x | drss->subcoord_x,
|
||||
ti->y | drss->subcoord_y, drss->width, drss->height, 0x14, ti->z);
|
||||
|
Reference in New Issue
Block a user