Minor fix

This commit is contained in:
Ladislav Zezula
2021-04-16 08:56:16 +02:00
parent dc867243c0
commit 62001d116a

View File

@@ -164,7 +164,8 @@ bool WINAPI SFileSetArchiveMarkers(PSFILE_MARKERS pMarkers)
InitializeMpqCryptography();
// Remember the marker for MPQ header
g_dwMpqSignature = pMarkers->dwSignature;
if(pMarkers->dwSignature != 0)
g_dwMpqSignature = pMarkers->dwSignature;
// Remember the encryption key for hash table
if(pMarkers->szHashTableKey != NULL)