From 52f5717a669ce85d528f42c626fb7f14aa9cdd9b Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 1 Mar 2009 21:48:03 +0000 Subject: (svn r15596) -Change: road vehicles can stop at stops when they own the stop, not when they own the road/tram track. --- src/roadveh_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp index 7878a9d05..f025e46ba 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -1670,7 +1670,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) && + v->owner == GetTileOwner(v->tile) && 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-54-g00ecf