(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:
tron 2006-07-25 19:18:31 +00:00
parent 4ca059b0e2
commit fd0305197e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}