mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r8809) -Fix (r8715): accidentally removed a part of an expression.
This commit is contained in:
parent
5011997f69
commit
168a7876a0
@ -2146,7 +2146,7 @@ static uint32 VehicleEnter_Station(Vehicle *v, TileIndex tile, int x, int y)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (v->type == VEH_Road) {
|
} else if (v->type == VEH_Road) {
|
||||||
if (v->u.road.state < RVSB_IN_ROAD_STOP && v->u.road.frame == 0) {
|
if (v->u.road.state < RVSB_IN_ROAD_STOP && !IsReversingRoadTrackdir((Trackdir)v->u.road.state) && v->u.road.frame == 0) {
|
||||||
if (IsRoadStop(tile)) {
|
if (IsRoadStop(tile)) {
|
||||||
/* Attempt to allocate a parking bay in a road stop */
|
/* Attempt to allocate a parking bay in a road stop */
|
||||||
RoadStop *rs = GetRoadStopByTile(tile, GetRoadStopType(tile));
|
RoadStop *rs = GetRoadStopByTile(tile, GetRoadStopType(tile));
|
||||||
|
Loading…
Reference in New Issue
Block a user