From 98e09b97b8147134421a7103a34ca1cf86611d46 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 24 Mar 2015 11:13:44 +0200 Subject: [PATCH] Add missing initializer --- source/libr2c2/trainrouteplanner.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/libr2c2/trainrouteplanner.cpp b/source/libr2c2/trainrouteplanner.cpp index c07f9e8..43c6128 100644 --- a/source/libr2c2/trainrouteplanner.cpp +++ b/source/libr2c2/trainrouteplanner.cpp @@ -308,6 +308,7 @@ TrainRoutePlanner::TrainRoutingState::TrainRoutingState(TrainRoutingInfo &inf): delay(info->router->get_departure_delay()), duration(info->router->get_trip_duration()), waypoint(0), + distance_traveled(0), blocked_by(-1) { const Vehicle *veh = &info->train->get_vehicle(0); -- 2.45.2