(svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names.
This commit is contained in:
@@ -2987,7 +2987,7 @@ static VehicleEnterTileStatus VehicleEnter_Station(Vehicle *v, TileIndex tile, i
|
||||
} else if (v->type == VEH_ROAD) {
|
||||
RoadVehicle *rv = RoadVehicle::From(v);
|
||||
if (rv->state < RVSB_IN_ROAD_STOP && !IsReversingRoadTrackdir((Trackdir)rv->state) && rv->frame == 0) {
|
||||
if (IsRoadStop(tile) && rv->IsRoadVehFront()) {
|
||||
if (IsRoadStop(tile) && rv->IsFrontEngine()) {
|
||||
/* Attempt to allocate a parking bay in a road stop */
|
||||
return RoadStop::GetByTile(tile, GetRoadStopType(tile))->Enter(rv) ? VETSB_CONTINUE : VETSB_CANNOT_ENTER;
|
||||
}
|
||||
|
Reference in New Issue
Block a user