aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/handle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tinsel/handle.cpp')
-rw-r--r--engines/tinsel/handle.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/tinsel/handle.cpp b/engines/tinsel/handle.cpp
index f3ef9b3e4b..cfe91f7216 100644
--- a/engines/tinsel/handle.cpp
+++ b/engines/tinsel/handle.cpp
@@ -420,6 +420,10 @@ byte *LockMem(SCNHANDLE offset) {
if (pH->pNode->pBaseAddr == NULL)
error("Out of memory");
+ if (TinselV2) {
+ SetCD(pH->flags2 & fAllCds);
+ CdCD(nullContext);
+ }
LoadFile(pH, true);
// make sure address is valid