TBTR: Fix refitting of virtual trains costing actual money
This commit is contained in:
@@ -528,6 +528,7 @@ CommandCost CmdRefitVehicle(TileIndex tile, DoCommandFlag flags, uint32 p1, uint
|
||||
uint8 num_vehicles = GB(p2, 16, 8);
|
||||
|
||||
CommandCost cost = RefitVehicle(v, only_this, num_vehicles, new_cid, new_subtype, flags, auto_refit);
|
||||
if (is_virtual_train) cost.MultiplyCost(0);
|
||||
|
||||
if (flags & DC_EXEC) {
|
||||
/* Update the cached variables */
|
||||
|
Reference in New Issue
Block a user