]> git.tdb.fi Git - r2c2.git/commit
Fix block releasing logic
authorMikko Rasa <tdb@tdb.fi>
Wed, 10 Jul 2013 17:04:26 +0000 (20:04 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 10 Jul 2013 17:56:54 +0000 (20:56 +0300)
commit13f72e25cd6cb68d7fa0c0ab798616a148c39e43
tree5fb1fac3a4beabd174bc1f1f2c4423a30e6f7d1e
parenta4a6af55ad5a9bfa14067532b1d1c914ef4c6668
Fix block releasing logic

The previous attempt didn't release any blocks if the last vehicle was
still behind the last active sensor, which is almost always the case.  And
if it did manage to release anything, it would have released too much.
source/libr2c2/blockallocator.cpp