File diff r10327:7253b31623a8 → r10328:7e960d01082d
src/roadveh_cmd.cpp
Show inline comments
 
@@ -2082,14 +2082,12 @@ CommandCost CmdRefitRoadVeh(TileIndex ti
 
				case CT_MAIL:
 
				case CT_GOODS: capacity /= 2; break;
 
				default:       capacity /= 4; break;
 
			}
 
		}
 

	
 
		if (capacity == 0) continue;
 

	
 
		total_capacity += capacity;
 

	
 
		if (IsHumanCompany(v->owner) && new_cid != v->cargo_type) {
 
			cost.AddCost(GetRefitCost(v->engine_type));
 
		}