From 384503e7d37f4b68c1480f6e6ca81adf84ef137d Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 27 Dec 2007 13:35:39 +0000 Subject: (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. --- src/yapf/yapf.hpp | 2 +- src/yapf/yapf_rail.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/yapf') 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 -- cgit v1.2.3-70-g09d2