From b4974b9d7de81eff1516b70781d16249357b1020 Mon Sep 17 00:00:00 2001 From: bjarni Date: Sat, 7 Oct 2006 08:24:11 +0000 Subject: (svn r6676) -Fix: [vehicle list windows] mass start/stop now works correctly in shared orders and station lists --- depot_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'depot_gui.c') diff --git a/depot_gui.c b/depot_gui.c index 0fc2c0920..b8bff252c 100644 --- a/depot_gui.c +++ b/depot_gui.c @@ -699,7 +699,7 @@ static void DepotWndProc(Window *w, WindowEvent *e) case DEPOT_WIDGET_STOP_ALL: case DEPOT_WIDGET_START_ALL: - DoCommandP(w->window_number, WP(w, depot_d).type, e->we.click.widget == DEPOT_WIDGET_START_ALL ? 1 : 0, NULL, CMD_MASS_START_STOP); + DoCommandP(w->window_number, 0, WP(w, depot_d).type | (e->we.click.widget == DEPOT_WIDGET_START_ALL ? (1 << 5) : 0), NULL, CMD_MASS_START_STOP); break; case DEPOT_WIDGET_SELL_ALL: -- cgit v1.2.3-54-g00ecf