Changeset - r8647:f8fab7a33e4b
[Not reviewed]
master
0 1 0
belugas - 16 years ago 2008-02-27 15:35:24
belugas@openttd.org
(svn r12290) -Fix[FS#1807]: Do not draw trees nor lamps between tram tracks.(Roujin)
1 file changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/road_cmd.cpp
Show inline comments
 
@@ -1065,8 +1065,11 @@ static void DrawRoadBits(TileInfo* ti)
 
		if (height < minz) return;
 
	}
 

	
 
	/* If there are no road bits, return, as there is nothing left to do */
 
	if (CountBits(road) < 2) return;
 

	
 
	/* Draw extra details. */
 
	for (drts = _road_display_table[roadside][road]; drts->image != 0; drts++) {
 
	for (drts = _road_display_table[roadside][road | tram]; drts->image != 0; drts++) {
 
		DrawRoadDetail(drts->image, ti, drts->subcoord_x, drts->subcoord_y, 0x10);
 
	}
 
}
0 comments (0 inline, 0 general)