]> git.tdb.fi Git - r2c2.git/commit
Simplify sequence handling
authorMikko Rasa <tdb@tdb.fi>
Mon, 14 Apr 2014 06:00:30 +0000 (09:00 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 14 Apr 2014 15:42:27 +0000 (18:42 +0300)
commit0ac334781fcb5029e4ea9236a8e93f43169eb7f2
treed3b56f655e0f5d90deb2d542745c90f6d0a9f285
parent3de7ae761b9a1fd1c1cd40457cc7067f4cf57c36
Simplify sequence handling

Instead of checking all sequence points when another train reserves a
block, only check the first one.  The subsequent ones can be checked
when they become relevant.
source/libr2c2/trainrouter.cpp
source/libr2c2/trainrouter.h