summaryrefslogtreecommitdiff
path: root/src/order_func.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-09-16 19:00:53 +0000
committeralberth <alberth@openttd.org>2009-09-16 19:00:53 +0000
commit24e9ee8ab4244b5562d3a780b153b33d1a5b64df (patch)
treeb393d386de7c7af4e76727b9b33d531b4feacfd1 /src/order_func.h
parent893f1282cb308fdf38160b68c5b30d3a6180bbda (diff)
downloadopenttd-24e9ee8ab4244b5562d3a780b153b33d1a5b64df.tar.xz
(svn r17557) -Codechange: Pass left and right edge to DrawOrderString().
Diffstat (limited to 'src/order_func.h')
-rw-r--r--src/order_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/order_func.h b/src/order_func.h
index fd4034d34..0ba62fab6 100644
--- a/src/order_func.h
+++ b/src/order_func.h
@@ -47,7 +47,7 @@ bool ProcessOrders(Vehicle *v);
bool UpdateOrderDest(Vehicle *v, const Order *order, int conditional_depth = 0);
VehicleOrderID ProcessConditionalOrder(const Order *order, const Vehicle *v);
-void DrawOrderString(const Vehicle *v, const Order *order, int order_index, int y, bool selected, bool timetable, int width);
+void DrawOrderString(const Vehicle *v, const Order *order, int order_index, int y, bool selected, bool timetable, int left, int right);
#define MIN_SERVINT_PERCENT 5
#define MAX_SERVINT_PERCENT 90