|
|
|
@ -163,7 +163,7 @@ class pfPatcherStream : public plZlibStream
|
|
|
|
|
|
|
|
|
|
public: |
|
|
|
|
pfPatcherStream(pfPatcherWorker* parent, const plFileName& filename, uint64_t size) |
|
|
|
|
: fParent(parent), fFilename(filename), fFlags(0), fBytesWritten(0) |
|
|
|
|
: fParent(parent), fFilename(filename), fFlags(0), fBytesWritten(0), fDLStartTime(0.f) |
|
|
|
|
{ |
|
|
|
|
fParent->fTotalBytes += size; |
|
|
|
|
fOutput = new hsRAMStream; |
|
|
|
@ -335,7 +335,7 @@ static void IFileThingDownloadCB(ENetError result, void* param, const plFileName
|
|
|
|
|
// ===================================================
|
|
|
|
|
|
|
|
|
|
pfPatcherWorker::pfPatcherWorker() : |
|
|
|
|
fStarted(false), fCurrBytes(0), fTotalBytes(0), fRequestActive(true) |
|
|
|
|
fStarted(false), fCurrBytes(0), fTotalBytes(0), fRequestActive(true), fParent(nullptr) |
|
|
|
|
{ } |
|
|
|
|
|
|
|
|
|
pfPatcherWorker::~pfPatcherWorker() |
|
|
|
|