]> git.tdb.fi Git - r2c2.git/commitdiff
Initialize Train::route to 0
authorMikko Rasa <tdb@tdb.fi>
Thu, 17 Dec 2009 21:04:35 +0000 (21:04 +0000)
committerMikko Rasa <tdb@tdb.fi>
Thu, 17 Dec 2009 21:04:35 +0000 (21:04 +0000)
source/libmarklin/train.cpp

index ef38416e98454ab4f0d3f3aaba00a6da07d05850..462ff1dff730318b18f35d049a540ccc16438d19 100644 (file)
@@ -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),