(svn r20533) -Codechange: shuffle a bit with the bits in the sell command

This commit is contained in:
rubidium
2010-08-18 00:03:08 +00:00
parent c57a5b735a
commit 9d814f04dd
3 changed files with 12 additions and 10 deletions

View File

@@ -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;
}