tweak the value of haveDone as per BentMyWookie's suggestion

This commit is contained in:
Charles Kerr 2008-04-21 00:04:41 +00:00
parent 8805366e28
commit fbc7cde718
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ tr_cpEnsureDoneValid( const tr_completion * ccp )
cp->doneDirty = FALSE; cp->doneDirty = FALSE;
for( i=0; i<info->pieceCount; ++i ) { for( i=0; i<info->pieceCount; ++i ) {
if( !info->pieces[i].dnd ) { if( tr_cpPieceIsComplete( ccp, i ) || !info->pieces[i].dnd ) {
total += info->pieceSize; total += info->pieceSize;
have += cp->completeBlocks[ i ]; have += cp->completeBlocks[ i ];
} }