Move destination check into YapfShipChooseTrack
commit046a6760a0d2156820410734847f3af52a9b0579
authorcirdan <cirdansw@gmail.com>
Tue, 28 Jan 2014 16:40:19 +0000 (28 17:40 +0100)
committercirdan <cirdansw@gmail.com>
Tue, 28 Jan 2014 16:40:19 +0000 (28 17:40 +0100)
treee507bdd018b7bb4dd9e0e7263828e2d36d3c6407
parent129af83316f5b16c9be28c882f3f721ff0243900
Move destination check into YapfShipChooseTrack

Move the special check for a ship about to enter its destination
tile in ChooseShipTrack to YapfShipChooseTrack, since it is
independent of pathfinder choice.
src/pathfinder/yapf/yapf_ship.cpp