(svn r20770) -Codechange: move some bits around in CmdMassStartStop's parameters

This commit is contained in:
rubidium
2010-09-08 21:14:41 +00:00
parent 56ebc2359e
commit 91ea9c969f
4 changed files with 12 additions and 13 deletions

View File

@@ -741,7 +741,7 @@ struct DepotWindow : Window {
case DEPOT_WIDGET_STOP_ALL:
case DEPOT_WIDGET_START_ALL:
DoCommandP(this->window_number, 0, this->type | (widget == DEPOT_WIDGET_START_ALL ? (1 << 5) : 0), CMD_MASS_START_STOP);
DoCommandP(this->window_number, (widget == DEPOT_WIDGET_START_ALL ? (1 << 0) : 0), this->type, CMD_MASS_START_STOP);
break;
case DEPOT_WIDGET_SELL_ALL: