]> git.tdb.fi Git - r2c2.git/commit
Clear end_of_route if we have to free blocks from the end
authorMikko Rasa <tdb@tdb.fi>
Tue, 2 Nov 2010 21:35:26 +0000 (21:35 +0000)
committerMikko Rasa <tdb@tdb.fi>
Tue, 2 Nov 2010 21:35:26 +0000 (21:35 +0000)
commitf054840cec26b55d68910e750192079f0c6e0230
tree4b7989287c0b3cfdf0680d8da4ecc07a94796e80
parentcadb9f79feb379acd6712fba97af4f6696a413c5
Clear end_of_route if we have to free blocks from the end
Drop the return value of reserve_more as it's not useful anymore
simplify the logic of keeping good blocks
Don't keep any turnouts at the end of reservation
Fix a bug where a blocks could be current but not clear
Always set turnouts according to reserved blocks
Handle instant turnout switches correctly
source/libmarklin/train.cpp
source/libmarklin/train.h