From 4f006a31a8ce4aa00431839f1fcfa179b5c4f60f Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 17 Dec 2009 21:04:35 +0000 Subject: [PATCH] Initialize Train::route to 0 --- source/libmarklin/train.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/libmarklin/train.cpp b/source/libmarklin/train.cpp index ef38416..462ff1d 100644 --- a/source/libmarklin/train.cpp +++ b/source/libmarklin/train.cpp @@ -26,6 +26,7 @@ Train::Train(TrafficManager &tm, Locomotive &l): loco(l), pending_block(0), target_speed(0), + route(0), status("Unplaced"), travel_dist(0), travel_speed(0), -- 2.45.2