aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/cine/script.cpp4
-rw-r--r--engines/cine/various.cpp2
-rw-r--r--engines/cine/various.h2
3 files changed, 2 insertions, 6 deletions
diff --git a/engines/cine/script.cpp b/engines/cine/script.cpp
index b1421623a6..b33b9fc3ba 100644
--- a/engines/cine/script.cpp
+++ b/engines/cine/script.cpp
@@ -1774,8 +1774,8 @@ void o1_playSample() {
void o1_allowSystemMenu() {
byte param = getNextByte();
- debugC(5, kCineDebugScript, "Line: %d: OP79 load var22 to %d -> TODO", _currentLine, param);
- var22 = param;
+ debugC(5, kCineDebugScript, "Line: %d: allowSystemMenu(%d)", _currentLine, param);
+ allowSystemMenu = param;
}
void o1_loadMask5() {
diff --git a/engines/cine/various.cpp b/engines/cine/various.cpp
index 853f9d594d..dc6685029e 100644
--- a/engines/cine/various.cpp
+++ b/engines/cine/various.cpp
@@ -2716,8 +2716,6 @@ void removeExtention(char *dest, const char *source) {
}
}
-uint16 var22;
-
uint16 defaultMenuBoxColor2;
uint16 zoneData[NUM_MAX_ZONE];
diff --git a/engines/cine/various.h b/engines/cine/various.h
index d32040c8f5..782d462ece 100644
--- a/engines/cine/various.h
+++ b/engines/cine/various.h
@@ -151,8 +151,6 @@ extern uint16 exitEngine;
void hideMouse(void);
-extern uint16 var22;
-
void removeExtention(char *dest, const char *source);
struct selectedObjStruct {