]> git.tdb.fi Git - r2c2.git/commit
Avoid advancing to a pending block
authorMikko Rasa <tdb@tdb.fi>
Wed, 20 Nov 2013 19:25:11 +0000 (21:25 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 20 Nov 2013 19:25:11 +0000 (21:25 +0200)
commitab3073367fb8e7d7b534b5c5b81a16346ba20717
tree39ae02c0ff513f665d01601e509ad70701ad4488
parente85512838472070722b9e0b010e88ce0f1572b80
Avoid advancing to a pending block

This fixes a problem where a train would wait for a turnout to be freed,
then reserve it and immediately advance to it, triggering a false arrival
in the router.
source/libr2c2/blockallocator.cpp