(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

@@ -1286,8 +1286,7 @@ public:
case VLW_WIDGET_STOP_ALL:
case VLW_WIDGET_START_ALL:
DoCommandP(0, GB(this->window_number, 16, 16),
(this->window_number & VLW_MASK) | (1 << 6) | (widget == VLW_WIDGET_START_ALL ? (1 << 5) : 0) | this->vehicle_type, CMD_MASS_START_STOP);
DoCommandP(0, (1 << 1) | (widget == VLW_WIDGET_START_ALL ? (1 << 0) : 0), GB(this->window_number, 16, 16) << 16 | (this->window_number & VLW_MASK) | this->vehicle_type, CMD_MASS_START_STOP);
break;
}
}