mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-27 22:24:28 +01: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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user