]> git.tdb.fi Git - r2c2.git/commit
Avoid arriving too early if there's an unexpected stop on the last route
authorMikko Rasa <tdb@tdb.fi>
Wed, 11 Feb 2015 18:14:30 +0000 (20:14 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 11 Feb 2015 23:59:24 +0000 (01:59 +0200)
commit195ba0e08c597190481ac205afa05243c68fb39b
tree0e5ea5a05d19dafbb4a7c2a00affd9df3152201a
parent67cd1b26d2833903e51b91e167a3d1f7ae884a31
Avoid arriving too early if there's an unexpected stop on the last route

If the final block of the route is allocated while the train is stopped,
arrival could be triggered prematurely.  I'm not entirely certain if this
can happen in absence of certain quirks of the dummy driver, but better
safe than sorry.
source/libr2c2/trainrouter.cpp
source/libr2c2/trainrouter.h