aboutsummaryrefslogtreecommitdiff
path: root/src/SFileOpenArchive.cpp
diff options
context:
space:
mode:
authorLadislav Zezula <E:\Ladik\Mail>2015-11-07 23:04:44 +0100
committerLadislav Zezula <E:\Ladik\Mail>2015-11-07 23:04:44 +0100
commitdae6c5e315445b0c25d6a500deb7e7e625d8df90 (patch)
treeea2c745ca2633a13fb859277ec73dc690a2565e4 /src/SFileOpenArchive.cpp
parent18dda26660660e7ceaf18524e3d5e3d611df8f20 (diff)
+ 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
Diffstat (limited to 'src/SFileOpenArchive.cpp')
-rw-r--r--src/SFileOpenArchive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SFileOpenArchive.cpp b/src/SFileOpenArchive.cpp
index a951d39..f9469fb 100644
--- a/src/SFileOpenArchive.cpp
+++ b/src/SFileOpenArchive.cpp
@@ -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;