]> git.tdb.fi Git - r2c2.git/commit
Clear the critical flag one track earlier
authorMikko Rasa <tdb@tdb.fi>
Fri, 20 Feb 2015 16:40:54 +0000 (18:40 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 20 Feb 2015 16:40:54 +0000 (18:40 +0200)
commit2d9b73acd9653686eb5d9b7e919848895051ab0d
tree17e871f84fc8c8f6c5b02efbc5fdd251672f7760
parent528c4f8760ac54fb2d1f3002248ecf6774956030
Clear the critical flag one track earlier

Check_arrival is called when the train reaches the end of its current
track.  The flag should be cleared when the track it is entering is no
longer critical.
source/libr2c2/trainrouteplanner.cpp