equal
deleted
inserted
replaced
1 /* $Id$ */ |
1 /* $Id$ */ |
2 |
2 |
3 #include "ai_pathfinder_stupid.hpp" |
3 #include "ai_pathfinder_stupid.hpp" |
4 #include "ai_road.hpp" |
4 #include "ai_road.hpp" |
5 #include "ai_testmode.hpp" |
5 #include "ai_testmode.hpp" |
|
6 #include "../../map_func.h" |
6 |
7 |
7 bool AIPathFinderStupid::BuildRealRoute(TileIndex start, TileIndex end, bool continue_on_error) |
8 bool AIPathFinderStupid::BuildRealRoute(TileIndex start, TileIndex end, bool continue_on_error) |
8 { |
9 { |
9 bool ret = true; |
10 bool ret = true; |
10 uint sx, sy, ex, ey; |
11 uint sx, sy, ex, ey; |