]> git.tdb.fi Git - r2c2.git/commit
Don't reset router to free run mode until allocator has deactivated
authorMikko Rasa <tdb@tdb.fi>
Sun, 7 Jul 2013 22:05:57 +0000 (01:05 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 7 Jul 2013 22:05:57 +0000 (01:05 +0300)
commit32739f060d1c025756b3ed702da1cbbdd6793064
tree7d54e2129afafb17c33f15c27427fa0dbfa3ebdd
parent110a865e1a175f304ecaaa7a31b6985cf0c12a99
Don't reset router to free run mode until allocator has deactivated

Setting route causes stop_at information to be cleared.  If the allocator
is still active when this happens, it will allocate more blocks.
source/libr2c2/trainrouter.cpp
source/libr2c2/trainrouter.h