diff options
author | rubidium <rubidium@openttd.org> | 2007-12-21 22:50:51 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-12-21 22:50:51 +0000 |
commit | 6a9e77e0796a62a62e95ba5870f26b51a6b66c77 (patch) | |
tree | 92a4b604ccb6ae352038348f78b52b1f91cfd691 /src/pathfind.cpp | |
parent | 1b53dbf9cc91f99db84a81c1f7cfa4ed8a6a7779 (diff) | |
download | openttd-6a9e77e0796a62a62e95ba5870f26b51a6b66c77.tar.xz |
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
Diffstat (limited to 'src/pathfind.cpp')
-rw-r--r-- | src/pathfind.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pathfind.cpp b/src/pathfind.cpp index ae7d258fa..87a66ba50 100644 --- a/src/pathfind.cpp +++ b/src/pathfind.cpp @@ -7,7 +7,7 @@ #include "bridge_map.h" #include "station_map.h" #include "depot.h" -#include "functions.h" +#include "tile_cmd.h" #include "landscape.h" #include "map.h" #include "pathfind.h" @@ -17,6 +17,7 @@ #include "variables.h" #include "depot.h" #include "tunnelbridge_map.h" +#include "core/random_func.hpp" /* remember which tiles we have already visited so we don't visit them again. */ static bool TPFSetTileBit(TrackPathFinder *tpf, TileIndex tile, int dir) |