mirror of https://github.com/OpenTTD/OpenTTD.git
(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