diff options
author | rubidium <rubidium@openttd.org> | 2010-09-08 21:14:41 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-09-08 21:14:41 +0000 |
commit | 0e840f7360895ae9759a556b011759fc4662b213 (patch) | |
tree | 8a1adff60591a78a3033bad497d403f4bdb3f2a8 /src/vehicle_gui.cpp | |
parent | ea4b40704b351de69cff4a6beaa4cf526f18bb9b (diff) | |
download | openttd-0e840f7360895ae9759a556b011759fc4662b213.tar.xz |
(svn r20770) -Codechange: move some bits around in CmdMassStartStop's parameters
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r-- | src/vehicle_gui.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 87123489f..5b6738a34 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -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; } } |