mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-01-30 19:42:51 +03:00
fix(stormlib): dwFlags argument for SFileOpenPatchArchive
This commit is contained in:
parent
f9f7da8601
commit
7e175200d6
2
vendor/stormlib-9/src/SFilePatchArchives.cpp
vendored
2
vendor/stormlib-9/src/SFilePatchArchives.cpp
vendored
@ -1126,7 +1126,7 @@ bool WINAPI SFileOpenPatchArchive(
|
|||||||
// Open the archive like it is normal archive
|
// Open the archive like it is normal archive
|
||||||
if(dwErrCode == ERROR_SUCCESS)
|
if(dwErrCode == ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
if(SFileOpenArchive(szPatchMpqName, 0, MPQ_OPEN_READ_ONLY | MPQ_OPEN_PATCH, &hPatchMpq))
|
if(SFileOpenArchive(szPatchMpqName, 0, MPQ_OPEN_READ_ONLY | MPQ_OPEN_PATCH | dwFlags, &hPatchMpq))
|
||||||
{
|
{
|
||||||
// Cast the archive handle to structure pointer
|
// Cast the archive handle to structure pointer
|
||||||
haPatch = (TMPQArchive *)hPatchMpq;
|
haPatch = (TMPQArchive *)hPatchMpq;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user