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 | 433b8054e9e63da606ccee3a23ec958d03200c75 (patch) | |
tree | 7fe6465ccc95da326f260f6e342ab4f58703e826 /src | |
parent | 9cdf6fdc7e9b5290866074deb828dc2ec2e183a5 (diff) | |
download | openttd-433b8054e9e63da606ccee3a23ec958d03200c75.tar.xz |
(svn r8868) -Fix (r8715): road vehicles could not overtake anymore in some directions (mart3p).
Diffstat (limited to 'src')
-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; |