diff options
author | frosch <frosch@openttd.org> | 2009-11-28 15:12:24 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-11-28 15:12:24 +0000 |
commit | 49aca1edc096b70bdfa57534fd867abe717c2bb9 (patch) | |
tree | fcc43f0d33e2216a5fa64b922126f6a329bb3e14 /src/order_func.h | |
parent | 1f0da3710f955c7fd4a747ac814d449847e73884 (diff) | |
download | openttd-49aca1edc096b70bdfa57534fd867abe717c2bb9.tar.xz |
(svn r18325) -Codechange: Use GetSpriteSize() instead of hard {SETX}. Also make the 'current order'-arrow in order and timetable GUI RTL aware.
Diffstat (limited to 'src/order_func.h')
-rw-r--r-- | src/order_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/order_func.h b/src/order_func.h index 0ba62fab6..1e016858b 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 left, int right); +void DrawOrderString(const Vehicle *v, const Order *order, int order_index, int y, bool selected, bool timetable, int left, int middle, int right); #define MIN_SERVINT_PERCENT 5 #define MAX_SERVINT_PERCENT 90 |