File diff r13164:565fc06638f2 → r13165:024ce8aa50e8
src/vehicle_cmd.cpp
Show inline comments
 
@@ -443,7 +443,7 @@ CommandCost CmdCloneVehicle(TileIndex ti
 
				assert(w != NULL);
 

	
 
				if (w->cargo_type != v->cargo_type || w->cargo_subtype != v->cargo_subtype) {
 
					CommandCost cost = DoCommand(0, w->index, v->cargo_type | (v->cargo_subtype << 8) | 1U << 16 , flags, GetCmdRefitVeh(v));
 
					CommandCost cost = DoCommand(0, w->index, v->cargo_type | (v->cargo_subtype << 8) | 1U << 16, flags, GetCmdRefitVeh(v));
 
					if (CmdSucceeded(cost)) total_cost.AddCost(cost);
 
				}