+ Hashing function no longer replaces slashes for backslashes (storm.dll v 2002 doesn't do that either)

+ Support for names beginning with slashes, like \/\BTNThoriumAmmunition.blp
This commit is contained in:
Ladislav Zezula
2015-11-07 23:04:44 +01:00
parent 18dda26660
commit dae6c5e315
8 changed files with 5166 additions and 5159 deletions

View File

@@ -215,7 +215,7 @@ bool WINAPI SFileOpenArchive(
bool bSearchComplete = false;
memset(ha, 0, sizeof(TMPQArchive));
ha->pfnHashString = HashString;
ha->pfnHashString = HashStringSlash;
ha->pStream = pStream;
pStream = NULL;