diff options
author | Andrey Nazarov <skuller@skuller.net> | 2013-02-04 20:25:42 +0400 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2013-02-04 20:25:42 +0400 |
commit | 50db352d2c60f3e8c7facefe53b3fe05a24cd6b7 (patch) | |
tree | 48e5d573a574ccf2b1dc35cf6349fbcc182c1f9b /src | |
parent | 0c7246e527541552f37e9bd276d252ad4abd352d (diff) |
Fix position display for resumed download.
Diffstat (limited to 'src')
-rw-r--r-- | src/client/download.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |