diff options
author | Ladislav <Zezula> | 2013-12-22 12:47:26 +0100 |
---|---|---|
committer | Ladislav <Zezula> | 2013-12-22 12:47:26 +0100 |
commit | 3dd8d1198c46c42a47cd6089e9dd99b9dfdaa798 (patch) | |
tree | 75f88998ddb4e09187c163a50680a212a4403643 /src/SFileCompactArchive.cpp | |
parent | ebd502e0c220f7c2d3b9ce65bd83ed569d65f314 (diff) |
+ MPQ Bitmap processign was moved to TFileStream
+ Preparing for implementation of master-mirror streaming (like Blizzard games do)
Diffstat (limited to 'src/SFileCompactArchive.cpp')
-rw-r--r-- | src/SFileCompactArchive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SFileCompactArchive.cpp b/src/SFileCompactArchive.cpp index 5ca4065..b5482c8 100644 --- a/src/SFileCompactArchive.cpp +++ b/src/SFileCompactArchive.cpp @@ -575,7 +575,7 @@ bool WINAPI SFileCompactArchive(HANDLE hMpq, const char * szListFile, bool /* bR // If succeeded, switch the streams if(nError == ERROR_SUCCESS) { - if(FileStream_Switch(ha->pStream, pTempStream)) + if(FileStream_Replace(ha->pStream, pTempStream)) pTempStream = NULL; else nError = ERROR_CAN_NOT_COMPLETE; |