From 50db352d2c60f3e8c7facefe53b3fe05a24cd6b7 Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Mon, 4 Feb 2013 20:25:42 +0400 Subject: Fix position display for resumed download. --- src/client/download.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/client/download.c b/src/client/download.c index 795f466..9f5e97d 100644 --- a/src/client/download.c +++ b/src/client/download.c @@ -255,6 +255,7 @@ static qboolean start_udp_download(dlqueue_t *q) ret = FS_FOpenFile(cls.download.temp, &f, FS_MODE_RDWR); if (ret >= 0) { // it exists cls.download.file = f; + cls.download.position = ret; // give the server an offset to start the download Com_DPrintf("[UDP] Resuming %s\n", q->path); #if USE_ZLIB -- cgit v1.2.3