diff options
Diffstat (limited to 'src/pathfinder/npf/npf_func.h')
-rw-r--r-- | src/pathfinder/npf/npf_func.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pathfinder/npf/npf_func.h b/src/pathfinder/npf/npf_func.h index 036caf9bb..9183f76ed 100644 --- a/src/pathfinder/npf/npf_func.h +++ b/src/pathfinder/npf/npf_func.h @@ -46,9 +46,10 @@ Track NPFShipChooseTrack(const Ship *v, bool &path_found); /** * Returns true if it is better to reverse the ship before leaving depot using NPF. * @param v the ship leaving the depot + * @param trackdir [out] the best of all possible reversed trackdirs * @return true if reversing is better */ -bool NPFShipCheckReverse(const Ship *v); +bool NPFShipCheckReverse(const Ship *v, Trackdir *trackdir); /** * Used when user sends train to the nearest depot or if train needs servicing using NPF |