File diff r13089:a02941e52c9b → r13090:2bfefcfe19c9
src/industry_cmd.cpp
Show inline comments
 
@@ -429,13 +429,13 @@ static void AddAcceptedCargo_Industry(Ti
 
		}
 
	}
 

	
 
	const Industry *ind = Industry::GetByTile(tile);
 
	for (byte i = 0; i < lengthof(itspec->accepts_cargo); i++) {
 
		CargoID a = accepts_cargo[i];
 
		if (a == CT_INVALID) continue; // work only with valid cargos
 
		if (a == CT_INVALID || cargo_acceptance[i] == 0) continue; // work only with valid cargos
 

	
 
		/* Add accepted cargo */
 
		acceptance[a] += cargo_acceptance[i];
 

	
 
		/* Maybe set 'always accepted' bit (if it's not set already) */
 
		if (HasBit(*always_accepted, a)) continue;