summaryrefslogtreecommitdiff
path: root/src/order_gui.cpp
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2007-01-21 00:01:47 +0000
committerbjarni <bjarni@openttd.org>2007-01-21 00:01:47 +0000
commitc8c27b974058e5c6673ed7a7d0bdd2eb623d4295 (patch)
tree8c1a71e7972a3d2f2e3847db25fc4cf7a81aca7f /src/order_gui.cpp
parent470619a8bb960501bf54d82cb3a1c2a9f7006768 (diff)
downloadopenttd-c8c27b974058e5c6673ed7a7d0bdd2eb623d4295.tar.xz
(svn r8293) -Codechange: overloaded ShowVehicleListWindow() so it can open all types of vehicle lists (depending on arguments)
- Also removed some unneeded arguments - this also allows removing an if-else cascade in ShowVehicleListWindowLocal()
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 038309924..527b87ae3 100644
--- a/src/order_gui.cpp
+++ b/src/order_gui.cpp
@@ -482,7 +482,7 @@ static void OrdersWndProc(Window *w, WindowEvent *e)
OrderClick_Transfer(w, v);
break;
case 11: /* Vehicle with same shared Orders button */
- ShowVehWithSharedOrders(v, v->type);
+ ShowVehicleListWindow(v);
break;
case 12:
OrderClick_Refit(w, v);