summaryrefslogtreecommitdiff
path: root/order_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
commit6eb094c72622b39bceff8293c3446e57d21c62f0 (patch)
treecad8daa1ee5542d4e8fefcbf2e2825e3f35fdb47 /order_cmd.c
parent2ab5eee78b495ec73049c8446a0ed37ab4ff0920 (diff)
downloadopenttd-6eb094c72622b39bceff8293c3446e57d21c62f0.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 'order_cmd.c')
-rw-r--r--order_cmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/order_cmd.c b/order_cmd.c
index 5bdabc899..ee82c1e3d 100644
--- a/order_cmd.c
+++ b/order_cmd.c
@@ -10,6 +10,7 @@
#include "player.h"
#include "news.h"
#include "saveload.h"
+#include "vehicle_gui.h"
enum {
/* Max orders: 64000 (64 * 1000) */