From: Mikko Rasa Date: Wed, 16 Apr 2014 19:00:54 +0000 (+0300) Subject: Always handle sequence checks in tick() X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=de531756626e0d2b16fec47ff28708aef6b2e12e;p=r2c2.git Always handle sequence checks in tick() --- diff --git a/source/libr2c2/trainrouter.cpp b/source/libr2c2/trainrouter.cpp index 0885bd2..fec9782 100644 --- a/source/libr2c2/trainrouter.cpp +++ b/source/libr2c2/trainrouter.cpp @@ -276,12 +276,7 @@ void TrainRouter::block_reserved(Block &block, Train *t) SequencePoint &sp = sequence_points.front(); if(sp.preceding_train==t && sp.block==&block) - { - if(sp.is_cleared()) - train.stop_at(0); - else - sequence_check_pending = true; - } + sequence_check_pending = true; return; }