summaryrefslogtreecommitdiff
path: root/src/depot_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-09-08 21:14:41 +0000
committerrubidium <rubidium@openttd.org>2010-09-08 21:14:41 +0000
commit0e840f7360895ae9759a556b011759fc4662b213 (patch)
tree8a1adff60591a78a3033bad497d403f4bdb3f2a8 /src/depot_gui.cpp
parentea4b40704b351de69cff4a6beaa4cf526f18bb9b (diff)
downloadopenttd-0e840f7360895ae9759a556b011759fc4662b213.tar.xz
(svn r20770) -Codechange: move some bits around in CmdMassStartStop's parameters
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r--src/depot_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp
index 25b775bf9..3da0ec10d 100644
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -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: