diff options
author | rubidium <rubidium@openttd.org> | 2009-02-19 00:15:36 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-02-19 00:15:36 +0000 |
commit | c2d9c85c0fbb26b5db2ef20b7ac610e63de2b46b (patch) | |
tree | 76c1b93af5e93efa3bcc9984e1c04884640ea566 /src/ship_cmd.cpp | |
parent | 336fda62bec39eb9ad1ee966a23faa0886a75309 (diff) | |
download | openttd-c2d9c85c0fbb26b5db2ef20b7ac610e63de2b46b.tar.xz |
(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.
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r-- | src/ship_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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" |