From da524e71ae0df370723cf629044ddfa1569db727 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 11 Jun 2008 19:57:45 +0000 Subject: (svn r13480) -Fix [FS#2050]: RVs stoppping at drive through stations of other companies. --- src/roadveh_cmd.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp index 7ecd0779b..e7e17b2e7 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -1714,6 +1714,7 @@ again: _road_veh_data_1[v->u.road.state - RVSB_IN_ROAD_STOP + (_settings_game.vehicle.road_side << RVS_DRIVE_SIDE)] == v->u.road.frame) || (IsInsideMM(v->u.road.state, RVSB_IN_DT_ROAD_STOP, RVSB_IN_DT_ROAD_STOP_END) && v->current_order.ShouldStopAtStation(v, GetStationIndex(v->tile)) && + v->owner == GetRoadOwner(v->tile, v->u.road.roadtype) && GetRoadStopType(v->tile) == (IsCargoInClass(v->cargo_type, CC_PASSENGERS) ? ROADSTOP_BUS : ROADSTOP_TRUCK) && v->u.road.frame == RVC_DRIVE_THROUGH_STOP_FRAME))) { -- cgit v1.2.3-70-g09d2