Changeset - r6102:6babef72e5d3
[Not reviewed]
master
0 1 0
rubidium - 18 years ago 2007-02-21 22:02:10
rubidium@openttd.org
(svn r8837) -Fix [FS#626]: drive through stations did not connect to neighbouring roads (mart3p).
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/road_gui.cpp
Show inline comments
 
@@ -84,7 +84,9 @@ void CcRoadDepot(bool success, TileIndex
 
	if (success) {
 
		SndPlayTileFx(SND_1F_SPLAT, tile);
 
		ResetObjectToPlace();
 
		if (!HASBIT(p2, 1)) BuildRoadOutsideStation(tile, (DiagDirection)p1);
 
		BuildRoadOutsideStation(tile, (DiagDirection)p1);
 
		/* For a drive-through road stop build connecting road for other entrance */
 
		if (HASBIT(p2, 1)) BuildRoadOutsideStation(tile, ReverseDiagDir((DiagDirection)p1));
 
	}
 
}
 

	
0 comments (0 inline, 0 general)