summaryrefslogtreecommitdiff
path: root/src/order_base.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-28 21:06:38 +0000
committerrubidium <rubidium@openttd.org>2009-07-28 21:06:38 +0000
commite473e69ba4d59df7f9cdd9a5010cf54a66fd5b90 (patch)
treea362d0c8540e1ecb4ba9ab1cc8c382106d972ac0 /src/order_base.h
parentffa0c7d29d484094832a85e2e0cdbc2f9a9f2a18 (diff)
downloadopenttd-e473e69ba4d59df7f9cdd9a5010cf54a66fd5b90.tar.xz
(svn r16976) -Codechange: remove WaypointID and MAX_LENGTH constants in favour of their Station variants
Diffstat (limited to 'src/order_base.h')
-rw-r--r--src/order_base.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/order_base.h b/src/order_base.h
index 4b1aba9b4..1d3753bec 100644
--- a/src/order_base.h
+++ b/src/order_base.h
@@ -12,7 +12,6 @@
#include "depot_type.h"
#include "station_type.h"
#include "vehicle_type.h"
-#include "waypoint_type.h"
typedef Pool<Order, OrderID, 256, 64000> OrderPool;
typedef Pool<OrderList, OrderListID, 128, 64000> OrderListPool;
@@ -92,7 +91,7 @@ public:
* Makes this order a Go To Waypoint order.
* @param destination the waypoint to go to.
*/
- void MakeGoToWaypoint(WaypointID destination);
+ void MakeGoToWaypoint(StationID destination);
/**
* Makes this order a Loading order.