summaryrefslogtreecommitdiff
path: root/src/order_gui.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-02-02 02:45:09 +0000
committerbelugas <belugas@openttd.org>2008-02-02 02:45:09 +0000
commit33e63a3adc5383b704631f5aa0aca9aaf3245b21 (patch)
tree97531e94001ab02ac6a3777261f49f77429da54c /src/order_gui.cpp
parent09ce7f76e963a5a368eb98dcc5f28dfe476eafea (diff)
downloadopenttd-33e63a3adc5383b704631f5aa0aca9aaf3245b21.tar.xz
(svn r12040) -Codechange: Change IsOrderListShared from a simple function to a class member(MagicBuzz).
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);