diff options
author | rubidium <rubidium@openttd.org> | 2007-02-23 22:14:14 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-02-23 22:14:14 +0000 |
commit | 98a4fc13996ae24728e051350ee0338a356af954 (patch) | |
tree | 7fe6465ccc95da326f260f6e342ab4f58703e826 | |
parent | 93e3250d1e8ece53f748aa2f792ee1ca50b63207 (diff) | |
download | openttd-98a4fc13996ae24728e051350ee0338a356af954.tar.xz |
(svn r8868) -Fix (r8715): road vehicles could not overtake anymore in some directions (mart3p).
-rw-r--r-- | src/roadveh_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |