]> git.tdb.fi Git - r2c2.git/commitdiff
Always handle sequence checks in tick()
authorMikko Rasa <tdb@tdb.fi>
Wed, 16 Apr 2014 19:00:54 +0000 (22:00 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 16 Apr 2014 19:08:18 +0000 (22:08 +0300)
source/libr2c2/trainrouter.cpp

index 0885bd2861d1e8c81eff3cc8b1f6d415fa8cee22..fec97823ab73659ed19977a0db228b613fa9c12d 100644 (file)
@@ -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;
        }