mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-06 22:37:22 +00:00
(svn r11809) -Fix [FS#1643]: set expenses type when selling all vehicles in depot
This commit is contained in:
parent
40ef636f43
commit
a1266da782
@ -1627,7 +1627,7 @@ CommandCost CmdDepotSellAllVehicles(TileIndex tile, uint32 flags, uint32 p1, uin
|
||||
uint16 wagon_list_length = 0;
|
||||
uint16 wagon_count = 0;
|
||||
|
||||
CommandCost cost;
|
||||
CommandCost cost(EXPENSES_NEW_VEHICLES);
|
||||
uint i, sell_command, total_number_vehicles;
|
||||
VehicleType vehicle_type = (VehicleType)GB(p1, 0, 8);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user