(svn r18561) -Fix [FS#3390]: Do try to overtake a vehicle in a station as overtaking in a station is not allowed
This commit is contained in:
		| @@ -862,7 +862,7 @@ static void RoadVehCheckOvertake(RoadVehicle *v, RoadVehicle *u) | |||||||
| 	if (v->roadtype == ROADTYPE_TRAM) return; | 	if (v->roadtype == ROADTYPE_TRAM) return; | ||||||
|  |  | ||||||
| 	/* Don't overtake in stations */ | 	/* Don't overtake in stations */ | ||||||
| 	if (IsTileType(v->tile, MP_STATION)) return; | 	if (IsTileType(v->tile, MP_STATION) || IsTileType(u->tile, MP_STATION)) return; | ||||||
|  |  | ||||||
| 	/* For now, articulated road vehicles can't overtake anything. */ | 	/* For now, articulated road vehicles can't overtake anything. */ | ||||||
| 	if (v->HasArticulatedPart()) return; | 	if (v->HasArticulatedPart()) return; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 rubidium
					rubidium