X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Ftrainrouteplanner.cpp;h=cc69e3c2020bf856cd705200124fe9cff29e1c4a;hb=ab92a81163a62348b0f3708ac642e6cfcf64d8d5;hp=b98b37e7ee1b2c9b41d6b4a0c41a7f545052f03b;hpb=a34347c6642d89a44960aeddc372891744cded15;p=r2c2.git 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;