Searched refs:newCarsPerTrain (Results 1 – 1 of 1) sorted by relevance
5039 … int32_t newCarsPerTrain = std::max(proposed_num_cars_per_train, rideEntry->min_cars_in_train); in UpdateMaxVehicles() local5043 newCarsPerTrain = std::min(maxCarsPerTrain, newCarsPerTrain); in UpdateMaxVehicles()5064 for (int32_t i = 0; i < newCarsPerTrain; i++) in UpdateMaxVehicles()5066 …hicleEntry = &rideEntry->vehicles[ride_entry_get_vehicle_at_position(subtype, newCarsPerTrain, i)]; in UpdateMaxVehicles()5071 if (newCarsPerTrain != 1) in UpdateMaxVehicles()5088 …hicleEntry = &rideEntry->vehicles[ride_entry_get_vehicle_at_position(subtype, newCarsPerTrain, 0)]; in UpdateMaxVehicles()5092 for (int32_t i = 0; i < newCarsPerTrain; i++) in UpdateMaxVehicles()5094 …hicleEntry = &rideEntry->vehicles[ride_entry_get_vehicle_at_position(subtype, newCarsPerTrain, i)]; in UpdateMaxVehicles()5119 … numCarsPerTrain = std::min(proposed_num_cars_per_train, static_cast<uint8_t>(newCarsPerTrain)); in UpdateMaxVehicles()