mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
60cbb41d5f
The corridor searches the whole line a card draws, and a card that opens with a drive from the day before (a night carried over, or the joined road on connected days) draws that drive ahead of its first stop. The insert index still came from insertIndexForAlong, which never answers 0, so a charger found on that stretch was added after the first stop and the day drove there, turned back to the charger and came the same way again. insertIndexFor now answers 0 for a hit before the first stop when the card arrives from an earlier stop, and dropping a hit on the map asks it instead of computing its own index, so a click and a drop cannot disagree.