mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-02-05 01:29:07 +00:00
fix(stormlib): dwFlags argument for SFileOpenPatchArchive
This commit is contained in:
parent
f9f7da8601
commit
7e175200d6
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue