mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r8837) -Fix [FS#626]: drive through stations did not connect to neighbouring roads (mart3p).
This commit is contained in:
parent
f24122ba3d
commit
fd4a0dafc2
|
@ -84,7 +84,9 @@ void CcRoadDepot(bool success, TileIndex tile, uint32 p1, uint32 p2)
|
|||
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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue