]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/trainrouteplanner.cpp
Assign delay in TrainRoutingState copy-constructor
[r2c2.git] / source / libr2c2 / trainrouteplanner.cpp
index b98b37e7ee1b2c9b41d6b4a0c41a7f545052f03b..cc69e3c2020bf856cd705200124fe9cff29e1c4a 100644 (file)
@@ -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;