Changeset - r204:bec21a5bb1b7
[Not reviewed]
master
0 2 0
darkvater - 20 years ago 2004-09-11 14:48:31
darkvater@openttd.org
(svn r205) -Fix: [1026271] Vehicle depots not transparent with transparent buildings.
2 files changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rail_cmd.c
Show inline comments
 
@@ -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);
road_cmd.c
Show inline comments
 
@@ -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);
0 comments (0 inline, 0 general)