File diff r24512:4a1407ed9784 → r24513:ba5551156e4e
src/autoreplace_cmd.cpp
Show inline comments
 
@@ -179,9 +179,8 @@ static bool VerifyAutoreplaceRefitForOrd
 
	CargoTypes union_refit_mask_a = GetUnionOfArticulatedRefitMasks(v->engine_type, false);
 
	CargoTypes union_refit_mask_b = GetUnionOfArticulatedRefitMasks(engine_type, false);
 

	
 
	const Order *o;
 
	const Vehicle *u = (v->type == VEH_TRAIN) ? v->First() : v;
 
	FOR_VEHICLE_ORDERS(u, o) {
 
	for (const Order *o : u->Orders()) {
 
		if (!o->IsRefit() || o->IsAutoRefit()) continue;
 
		CargoID cargo_type = o->GetRefitCargo();