Move destination check into YapfRoadVehicleChooseTrack
commit9639b269bb518ba632c058b3180dfc2f9f7e640b
authorcirdan <cirdansw@gmail.com>
Tue, 28 Jan 2014 15:51:43 +0000 (28 16:51 +0100)
committercirdan <cirdansw@gmail.com>
Tue, 28 Jan 2014 15:51:43 +0000 (28 16:51 +0100)
tree7e1c33c4cfae1999e0e33a3ac93f3fc5477fc4d4
parent5fda1a2866bc3cd63914329f536df4c53ce84ad8
Move destination check into YapfRoadVehicleChooseTrack

Move the special check for a road vehicle about to enter its
destination tile in ChooseRoadTrack to YapfRoadVehicleChooseTrack,
since it is independent of pathfinder choice.
src/pathfinder/yapf/yapf_road.cpp