Do not set trackdir in CheckEndOfLine in the track follower
commit0b57da3b436422a00b0e6619c90af5d8eed8859c
authorcirdan <cirdansw@gmail.com>
Tue, 24 Dec 2013 09:58:00 +0000 (24 10:58 +0100)
committercirdan <cirdansw@gmail.com>
Tue, 24 Dec 2013 09:58:00 +0000 (24 10:58 +0100)
treef50b8d5008cf6ecf0fa034101dba6f50d1d9e6f5
parentf21a48447c5ce6fe4eb4fe305addd3bcb8dadb5d
Do not set trackdir in CheckEndOfLine in the track follower

Do not set m_new.td to INVALID_TRACKDIR when CheckEndOfLine fails
in the track followers. Since a failure in CheckEndOfLine causes
immediate failure on Follow, and m_new should be considered
undefined unless Follow succeeds, there is no point in setting
m_new.td in that case.
src/pathfinder/follow_track.hpp