summaryrefslogtreecommitdiff
path: root/src/order_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/order_gui.cpp')
-rw-r--r--src/order_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/order_gui.cpp b/src/order_gui.cpp
index 78d44603a..6a05adf77 100644
--- a/src/order_gui.cpp
+++ b/src/order_gui.cpp
@@ -120,7 +120,7 @@ static void DrawOrdersWindow(Window *w)
v = GetVehicle(w->window_number);
- shared_orders = IsOrderListShared(v);
+ shared_orders = v->IsOrderListShared();
SetVScrollCount(w, v->num_orders + 1);