From c2d9c85c0fbb26b5db2ef20b7ac610e63de2b46b Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 19 Feb 2009 00:15:36 +0000 Subject: (svn r15518) -Fix [FS#2631]: use distance to closest station tile as estimate for YAPF too (NPF already does so). This makes it behave 'better' with wide stations. --- src/ship_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ship_cmd.cpp') diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp index a7106e30f..cb3949b7f 100644 --- a/src/ship_cmd.cpp +++ b/src/ship_cmd.cpp @@ -7,7 +7,6 @@ #include "landscape.h" #include "timetable.h" #include "command_func.h" -#include "pathfind.h" #include "station_map.h" #include "news_func.h" #include "company_func.h" @@ -30,6 +29,7 @@ #include "effectvehicle_func.h" #include "settings_type.h" #include "ai/ai.hpp" +#include "pathfind.h" #include "table/strings.h" #include "table/sprites.h" -- cgit v1.2.3-54-g00ecf