aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cruise/script.cpp')
-rw-r--r--engines/cruise/script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cruise/script.cpp b/engines/cruise/script.cpp
index 833ea1e24c..16adef5135 100644
--- a/engines/cruise/script.cpp
+++ b/engines/cruise/script.cpp
@@ -425,7 +425,7 @@ int32 opcodeType6(void) {
si |= 2;
}
- currentScriptPtr->bitMask = si;
+ currentScriptPtr->ccr = si;
return (0);
}
@@ -444,7 +444,7 @@ int32 opcodeType5(void) {
int offset = currentScriptPtr->var4;
int short1 = getShortFromScript();
int newSi = short1 + offset;
- int bitMask = currentScriptPtr->bitMask;
+ int bitMask = currentScriptPtr->ccr;
switch (currentScriptOpcodeType) {
case 0: