diff options
author | Ladislav Zezula <zezula@volny.cz> | 2020-12-13 12:32:25 +0100 |
---|---|---|
committer | Ladislav Zezula <zezula@volny.cz> | 2020-12-13 12:32:25 +0100 |
commit | 383e1572eecafdfe4f92ddad7a4bece069e12f38 (patch) | |
tree | 9c419d10e4cb4e2e569155f91cc93a7fdec62efc /src/SFileOpenFileEx.cpp | |
parent | 866269d740b32cf209e5188c5269c4118f8be07b (diff) |
Added support for amternative MPQ markers
Diffstat (limited to 'src/SFileOpenFileEx.cpp')
-rw-r--r-- | src/SFileOpenFileEx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SFileOpenFileEx.cpp b/src/SFileOpenFileEx.cpp index 5b7933a..1e02a22 100644 --- a/src/SFileOpenFileEx.cpp +++ b/src/SFileOpenFileEx.cpp @@ -263,7 +263,7 @@ bool WINAPI SFileOpenFileEx(HANDLE hMpq, const char * szFileName, DWORD dwSearch // If this MPQ has no patches, open the file from this MPQ directly if(ha->haPatch == NULL || dwSearchScope == SFILE_OPEN_BASE_FILE) { - pFileEntry = GetFileEntryLocale2(ha, szFileName, lcFileLocale, &dwHashIndex); + pFileEntry = GetFileEntryLocale2(ha, szFileName, g_lcFileLocale, &dwHashIndex); } // If this MPQ is a patched archive, open the file as patched |