From 0454fb77d79b30ee473c1b070cfa4161bd41dec5 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 19 Aug 2008 16:04:01 +0000 Subject: [PATCH] fixed bug where is_sequential_download would return false when it should be true --- src/torrent.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/torrent.cpp b/src/torrent.cpp index 67cbcfd13..e116d1d40 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -3525,14 +3525,11 @@ namespace libtorrent void torrent::set_sequential_download(bool sd) { + m_sequential_download = sd; if (has_picker()) { picker().sequential_download(sd); } - else - { - m_sequential_download = sd; - } } void torrent::set_queue_position(int p)