diff options
author | rubidium <rubidium@openttd.org> | 2007-12-27 13:35:39 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-12-27 13:35:39 +0000 |
commit | 384503e7d37f4b68c1480f6e6ca81adf84ef137d (patch) | |
tree | 7262db82a9e80413b5783b88be96602fdd29a485 /src/yapf | |
parent | 4e66f5a04b3b1393a13fa81edfdd10243aaf13a4 (diff) | |
download | openttd-384503e7d37f4b68c1480f6e6ca81adf84ef137d.tar.xz |
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
Diffstat (limited to 'src/yapf')
-rw-r--r-- | src/yapf/yapf.hpp | 2 | ||||
-rw-r--r-- | src/yapf/yapf_rail.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/yapf/yapf.hpp b/src/yapf/yapf.hpp index f091514f3..50c0b9d33 100644 --- a/src/yapf/yapf.hpp +++ b/src/yapf/yapf.hpp @@ -7,7 +7,7 @@ #include "track_dir.hpp" -#include "../vehicle.h" +#include "../vehicle_base.h" #include "../depot.h" #include "../road_map.h" #include "../tunnel_map.h" diff --git a/src/yapf/yapf_rail.cpp b/src/yapf/yapf_rail.cpp index 964993bf4..9da0da60c 100644 --- a/src/yapf/yapf_rail.cpp +++ b/src/yapf/yapf_rail.cpp @@ -8,6 +8,7 @@ #include "yapf_node_rail.hpp" #include "yapf_costrail.hpp" #include "yapf_destrail.hpp" +#include "../vehicle_func.h" #define DEBUG_YAPF_CACHE 0 |