+ Too large listfiles are ignored on malformed maps

This commit is contained in:
unknown
2015-05-13 18:13:06 +02:00
parent c45446094e
commit 58166d6ba7
2 changed files with 18 additions and 7 deletions

View File

@@ -618,7 +618,7 @@ static TMPQHash * GetHashEntryLocale(TMPQArchive * ha, const char * szFileName,
while(pHash != NULL)
{
// If the locales match, return it
if(lcLocale == 0 && lcLocale == pHash->lcLocale)
if(lcLocale == pHash->lcLocale)
return pHash;
// If we found neutral hash, remember it