]> git.tdb.fi Git - r2c2.git/commit
Fix lead route generation
authorMikko Rasa <tdb@tdb.fi>
Fri, 11 Apr 2014 18:18:09 +0000 (21:18 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 11 Apr 2014 19:35:13 +0000 (22:35 +0300)
commitfb5bd959109927ea02ead1483a4bb0c5a66784a4
treed5380ba802a86a9dc3629961a142239870a066c3
parentc52c0e591be55cb2c7251689c69c642e3cb3601c
Fix lead route generation

Lead routes are now created up to the target, but not past it.  This fixes
a problem where a route diverging from the train's reserved blocks caused
the router to attempt to create a lead route with gaps.
source/libr2c2/trainrouter.cpp