(svn r8837) -Fix [FS#626]: drive through stations did not connect to neighbouring roads (mart3p).
This commit is contained in:
		| @@ -84,7 +84,9 @@ void CcRoadDepot(bool success, TileIndex tile, uint32 p1, uint32 p2) | |||||||
| 	if (success) { | 	if (success) { | ||||||
| 		SndPlayTileFx(SND_1F_SPLAT, tile); | 		SndPlayTileFx(SND_1F_SPLAT, tile); | ||||||
| 		ResetObjectToPlace(); | 		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)); | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 rubidium
					rubidium