public override void Initialise(BitField bitfield, TorrentFile[] files, IEnumerable<Piece> requests)
{
base.Initialise(bitfield, files, requests);
// set the high priority set start to the beginning of the first file that we have to download
foreach (TorrentFile file in files)
{
if (file.Priority == Priority.DoNotDownload)
this.highPrioritySetStart = file.EndPieceIndex;
else
break;
}
}