summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
authormatthijs <matthijs@openttd.org>2005-05-02 23:59:11 +0000
committermatthijs <matthijs@openttd.org>2005-05-02 23:59:11 +0000
commitf8302a137a2cf1d91fa4e8ece35289ef4108499b (patch)
treecad8daa1ee5542d4e8fefcbf2e2825e3f35fdb47 /aircraft_cmd.c
parentba733c005dbe8edf23a3f1cb05dd892df5be11a9 (diff)
downloadopenttd-f8302a137a2cf1d91fa4e8ece35289ef4108499b.tar.xz
(svn r2256) - Fix: Trains cannot find a depot when they are in a tunnel. (glx)
- Add: GetVehicleTrackdir() helper function. - Codechange: Moved SortStruct from vehicle_gui.h to ttd.h, so the dependency from vehicle.h on vehicle_gui.h could be removed. - Codechange: Typedeffed the VehicleTypes struct so it can be used as the type for Vehicle.type instead of "byte". - Codechange: Removed prototype for VehicleSorter(), which had no implementation anymore and was never called.
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r--aircraft_cmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c
index f16d4a75b..025fc2343 100644
--- a/aircraft_cmd.c
+++ b/aircraft_cmd.c
@@ -13,6 +13,7 @@
#include "sound.h"
#include "player.h"
#include "airport.h"
+#include "vehicle_gui.h"
static bool AirportMove(Vehicle *v, const AirportFTAClass *Airport);
static bool AirportSetBlocks(Vehicle *v, AirportFTA *current_pos, const AirportFTAClass *Airport);