aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/scicore/resource.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/sci/scicore/resource.cpp b/engines/sci/scicore/resource.cpp
index 392ea3b560..14a430c383 100644
--- a/engines/sci/scicore/resource.cpp
+++ b/engines/sci/scicore/resource.cpp
@@ -901,7 +901,10 @@ void ResourceManager::readResourcePatches(ResourceSource *source) {
// SCI1 scheme
if (isdigit(name[0])) {
number = atoi(name.c_str());
- bAdd = true;
+ // vocab.999/999.voc is notoriously unreliable in SCI1 games, and should not be used
+ // Also check vocabulary_get_knames1()
+ if (number != VOCAB_RESOURCE_KNAMES)
+ bAdd = true;
} else {
// SCI0 scheme
int resname_len = strlen(szResType);