diff options
-rw-r--r-- | engines/sci/engine/kscripts.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/engine/kscripts.cpp b/engines/sci/engine/kscripts.cpp index 3dba4b127d..7bcbd0e359 100644 --- a/engines/sci/engine/kscripts.cpp +++ b/engines/sci/engine/kscripts.cpp @@ -67,6 +67,11 @@ reg_t kLock(EngineState *s, int argc, reg_t *argv) { const ResourceId id(type, argv[1].toUint16()); + if (getSciVersion() == SCI_VERSION_1_1 && + (type == kResourceTypeAudio36 || type == kResourceTypeSync36)) { + return s->r_acc; + } + Resource *which; switch (state) { |