From d5d2413e951165aa19e926d9f6ad63a818bbce78 Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Sun, 12 Jun 2022 20:51:09 +0200 Subject: Fixed --- src/SFileOpenFileEx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/SFileOpenFileEx.cpp') diff --git a/src/SFileOpenFileEx.cpp b/src/SFileOpenFileEx.cpp index d77f25e..96d8cfc 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, g_lcFileLocale, &dwHashIndex); + pFileEntry = GetFileEntryLocale(ha, szFileName, g_lcFileLocale, &dwHashIndex); } // If this MPQ is a patched archive, open the file as patched @@ -278,7 +278,7 @@ bool WINAPI SFileOpenFileEx(HANDLE hMpq, const char * szFileName, DWORD dwSearch // This open option is reserved for opening MPQ internal listfile. // No argument validation. Tries to open file with neutral locale first, // then any other available. - pFileEntry = GetFileEntryLocale2(ha, szFileName, 0, &dwHashIndex); + pFileEntry = GetFileEntryLocale(ha, szFileName, 0, &dwHashIndex); break; case SFILE_OPEN_LOCAL_FILE: -- cgit v1.2.3