From: Mikko Rasa Date: Sat, 29 Mar 2014 11:38:11 +0000 (+0200) Subject: Assign delay in TrainRoutingState copy-constructor X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=ab92a81163a62348b0f3708ac642e6cfcf64d8d5;p=r2c2.git Assign delay in TrainRoutingState copy-constructor --- diff --git a/source/libr2c2/trainrouteplanner.cpp b/source/libr2c2/trainrouteplanner.cpp index b98b37e..cc69e3c 100644 --- a/source/libr2c2/trainrouteplanner.cpp +++ b/source/libr2c2/trainrouteplanner.cpp @@ -265,6 +265,7 @@ TrainRoutePlanner::TrainRoutingState::TrainRoutingState(const TrainRoutingState offset(other.offset), back_offset(other.back_offset), state(other.state), + delay(other.delay), waypoint(other.waypoint) { ++occupied_tracks->refcount;