(svn r6676) -Fix: [vehicle list windows] mass start/stop now works correctly in shared orders and station lists

This commit is contained in:
bjarni
2006-10-07 08:24:11 +00:00
parent 05daece7dc
commit aa63b09b6c
3 changed files with 11 additions and 9 deletions

View File

@@ -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: