summaryrefslogtreecommitdiff
path: root/src/depot_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-18 00:03:08 +0000
committerrubidium <rubidium@openttd.org>2010-08-18 00:03:08 +0000
commit9b8d7048da4c078a0b8d58daf38db04b5cfce114 (patch)
tree3965959589f2b742ff5627c0090f5328c68e5e4e /src/depot_gui.cpp
parent4780cc50b200400bb1d05f22532041cd6edd3dc9 (diff)
downloadopenttd-9b8d7048da4c078a0b8d58daf38db04b5cfce114.tar.xz
(svn r20533) -Codechange: shuffle a bit with the bits in the sell command
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 3ebc8dfca..159e6adc3 100644
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -983,7 +983,7 @@ struct DepotWindow : Window {
BackupVehicleOrders(v);
}
- if (!DoCommandP(v->tile, v->index, sell_cmd, GetCmdSellVeh(v->type)) && is_engine) _backup_orders_tile = 0;
+ if (!DoCommandP(v->tile, v->index | sell_cmd << 16, 0, GetCmdSellVeh(v->type)) && is_engine) _backup_orders_tile = 0;
break;
}