Commit 3d88fae8 authored by Volker Krause's avatar Volker Krause
Browse files

Pass along floating rented vehicle data correctly

parent 03ca80c7
......@@ -430,6 +430,8 @@ JourneySection OpenTripPlannerParser::parseJourneySection(const QJsonObject &obj
RentalVehicle v;
if (from.rentalVehicleStation().network().isValid()) {
} else if (from.type() == Location::RentedVehicle) {
v =<RentalVehicle>();
} else if (to.rentalVehicleStation().network().isValid()) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment