File diff r18300:87ebd90f3b7f → r18301:0c1dfbaba57a
src/newgrf_industries.cpp
Show inline comments
 
@@ -661,7 +661,7 @@ bool IndustryTemporarilyRefusesCargo(Ind
 
		uint16 res = GetIndustryCallback(CBID_INDUSTRY_REFUSE_CARGO,
 
				0, GetReverseCargoTranslation(cargo_type, indspec->grf_prop.grffile),
 
				ind, ind->type, ind->location.tile);
 
		return res == 0;
 
		if (res != CALLBACK_FAILED) return !ConvertBooleanCallback(indspec->grf_prop.grffile, CBID_INDUSTRY_REFUSE_CARGO, res);
 
	}
 
	return false;
 
}