From: Mikko Rasa Date: Thu, 17 Dec 2009 21:04:35 +0000 (+0000) Subject: Initialize Train::route to 0 X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=4f006a31a8ce4aa00431839f1fcfa179b5c4f60f;p=r2c2.git Initialize Train::route to 0 --- 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),