]> git.tdb.fi Git - r2c2.git/commit
Fix a problem with estimated remaining distance in route planner
authorMikko Rasa <tdb@tdb.fi>
Mon, 23 Feb 2015 14:40:02 +0000 (16:40 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 23 Feb 2015 14:40:02 +0000 (16:40 +0200)
commit44e13f6732f206aa72ff7b001d77fe59bf2830ee
tree0a34e40924b84ac5d7337ed844c63c65902de3d2
parentcac4176a9685e8b39147d1e18d969b3bee052b03
Fix a problem with estimated remaining distance in route planner

The front of the occupied tracks list contains the length of the chosen
path on the current track and needs to be updated when the path changes.
source/libr2c2/trainrouteplanner.cpp
source/libr2c2/trainrouteplanner.h