mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r5607) -Regression [r3597]: Let a road vehicle only overtake if there is no vehicle close except the two involved
This commit is contained in:
parent
4ca059b0e2
commit
fd0305197e
@ -878,7 +878,7 @@ static void* EnumFindVehToOvertake(Vehicle* v, void* data)
|
||||
const OvertakeData* od = data;
|
||||
|
||||
return
|
||||
v->tile == od->tile && v->type == VEH_Road && v == od->u && v == od->v ?
|
||||
v->tile == od->tile && v->type == VEH_Road && v != od->u && v != od->v ?
|
||||
v : NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user