summaryrefslogtreecommitdiff
path: root/src/yapf
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-27 13:35:39 +0000
committerrubidium <rubidium@openttd.org>2007-12-27 13:35:39 +0000
commit384503e7d37f4b68c1480f6e6ca81adf84ef137d (patch)
tree7262db82a9e80413b5783b88be96602fdd29a485 /src/yapf
parent4e66f5a04b3b1393a13fa81edfdd10243aaf13a4 (diff)
downloadopenttd-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.hpp2
-rw-r--r--src/yapf/yapf_rail.cpp1
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