aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/SFileCompactArchive.cpp2
-rw-r--r--src/StormLib.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/SFileCompactArchive.cpp b/src/SFileCompactArchive.cpp
index 00efbb4..e36d507 100644
--- a/src/SFileCompactArchive.cpp
+++ b/src/SFileCompactArchive.cpp
@@ -62,7 +62,7 @@ static int CheckIfAllFilesKnown(TMPQArchive * ha, const char * szListFile, LPDWO
}
else
{
- nError = ERROR_CAN_NOT_COMPLETE;
+ nError = ERROR_UNKNOWN_FILE_NAMES;
break;
}
}
diff --git a/src/StormLib.h b/src/StormLib.h
index b1064d5..c37f789 100644
--- a/src/StormLib.h
+++ b/src/StormLib.h
@@ -146,6 +146,7 @@ extern "C" {
#define ERROR_BASE_FILE_MISSING 10004 // The file is present as incremental patch file, but base file is missing
#define ERROR_MARKED_FOR_DELETE 10005 // The file was marked as "deleted" in the MPQ
#define ERROR_FILE_INCOMPLETE 10006 // The required file part is missing
+#define ERROR_UNKNOWN_FILE_NAMES 10007 // A name of at least one file is unknown
// Values for SFileCreateArchive
#define HASH_TABLE_SIZE_MIN 0x00000004 // Verified: If there is 1 file, hash table size is 4