aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorunknown <E:\Ladik\Mail>2015-04-18 23:12:47 +0200
committerunknown <E:\Ladik\Mail>2015-04-18 23:12:47 +0200
commit68e2c2527db10dcfdd9fdc2219c7fe9784abf738 (patch)
treead00acb4ce162d3a780eabdc67ebcc804591b471 /test
parentd47864c13d4d5015445343f652ef3d3b3b73cb25 (diff)
+ SFileGetFileInfo(SFileMpqHashTable) now returns updated hash table instead of raw table loaded from the file
Diffstat (limited to 'test')
-rw-r--r--test/StormTest.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/StormTest.cpp b/test/StormTest.cpp
index d0a7f83..8a3d631 100644
--- a/test/StormTest.cpp
+++ b/test/StormTest.cpp
@@ -4052,7 +4052,7 @@ int main(int argc, char * argv[])
// Open a stream, paired with remote master (takes hell lot of time!)
// if(nError == ERROR_SUCCESS)
// nError = TestReadFile_MasterMirror("MPQ_2013_v4_alternate-downloaded.MPQ", "http://www.zezula.net\\mpqs\\alternate.zip", false);
-*/
+
// Search in listfile
if(nError == ERROR_SUCCESS)
nError = TestSearchListFile("ListFile_Blizzard.txt");
@@ -4126,6 +4126,10 @@ int main(int argc, char * argv[])
// Open an Warcraft III map locked by Spazy protector
if(nError == ERROR_SUCCESS)
nError = TestOpenArchive("MPQ_2015_v1_ProtectedMap_Spazy.w3x");
+*/
+ // Open an empty archive (found in WoW cache - it's just a header)
+ if(nError == ERROR_SUCCESS)
+ nError = TestOpenArchive("flem1.w3x");
// Open an Warcraft III map whose "(attributes)" file has (BlockTableSize-1) entries
if(nError == ERROR_SUCCESS)