From de531756626e0d2b16fec47ff28708aef6b2e12e Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 16 Apr 2014 22:00:54 +0300 Subject: [PATCH] Always handle sequence checks in tick() --- source/libr2c2/trainrouter.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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; } -- 2.45.2