]> git.tdb.fi Git - r2c2.git/commit
Mark turnout blocks before the next sensor as current
authorMikko Rasa <tdb@tdb.fi>
Sun, 27 Jan 2013 13:26:18 +0000 (15:26 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 27 Jan 2013 13:26:18 +0000 (15:26 +0200)
commite6b49ce4c5833ab90733aee8e42413f7c75d9da7
treef1034b5186201003a7b32457c81b64c87aaec945
parent3e3675f8d86b06cdea7df197dfe8866ffb285aec
Mark turnout blocks before the next sensor as current

This avoids a problem where a train leaving a station wouldn't get the
following turnouts as current if they needed switching, and consequently
could trigger an emergency for not reaching a sensor in time.
source/libr2c2/train.cpp