summaryrefslogtreecommitdiff
path: root/src/depot_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-19 20:45:29 +0000
committerrubidium <rubidium@openttd.org>2010-08-19 20:45:29 +0000
commitcc658392ebef76ca21efc7c3ab1aaaa93c50448e (patch)
treeb5927fb50b80510e15aa0bc9e42ef24b66c17850 /src/depot_gui.cpp
parent646fbb628aa1e19a19d02a3ad8abf24146fe5a12 (diff)
downloadopenttd-cc658392ebef76ca21efc7c3ab1aaaa93c50448e.tar.xz
(svn r20573) -Codechange: free/reserve some bits in the sell vehicle command to increase the vehicle pool limit
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 7fc07fcae..22b70ccd7 100644
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -976,7 +976,7 @@ struct DepotWindow : Window {
this->SetDirty();
int sell_cmd = (v->type == VEH_TRAIN && (widget == DEPOT_WIDGET_SELL_CHAIN || _ctrl_pressed)) ? 1 : 0;
- DoCommandP(v->tile, v->index | sell_cmd << 16 | MAKE_ORDER_BACKUP_FLAG, 0, GetCmdSellVeh(v->type));
+ DoCommandP(v->tile, v->index | sell_cmd << 20 | MAKE_ORDER_BACKUP_FLAG, 0, GetCmdSellVeh(v->type));
break;
}