From: Mikko Rasa Date: Thu, 12 Feb 2015 14:46:45 +0000 (+0200) Subject: Fix critical block logic X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;ds=sidebyside;h=ecd7af790bd3ab7c7e768f68968379e1feea56a9;hp=ecd7af790bd3ab7c7e768f68968379e1feea56a9;p=r2c2.git Fix critical block logic First noncritical block is not reliable, as it could be outside of the train's allocated blocks and not guaranteed to set to a consistent path. Worse, the get_first_noncritical_block function could return a block on the other side of a turnout which is changing path, and is_block_critical used completely different logic. ---