From 98a4fc13996ae24728e051350ee0338a356af954 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 23 Feb 2007 22:14:14 +0000 Subject: (svn r8868) -Fix (r8715): road vehicles could not overtake anymore in some directions (mart3p). --- 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 4af0a269b..1bb71eab2 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -972,7 +972,7 @@ static void RoadVehCheckOvertake(Vehicle *v, Vehicle *u) if (v->direction != u->direction || !(v->direction & 1)) return; /* Check if vehicle is in a road stop, depot, tunnel or bridge or not on a straight road */ - if (v->u.road.state >= RVS_IN_ROAD_STOP || !IsStraightRoadTrackdir((Trackdir)(v->u.road.state & RVSB_TRACKDIR_MASK))) return; + if (v->u.road.state >= RVSB_IN_ROAD_STOP || !IsStraightRoadTrackdir((Trackdir)(v->u.road.state & RVSB_TRACKDIR_MASK))) return; tt = GetTileTrackStatus(v->tile, TRANSPORT_ROAD) & 0x3F; if ((tt & 3) == 0) return; -- cgit v1.2.3-70-g09d2