aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/various.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cine/various.cpp')
-rw-r--r--engines/cine/various.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/cine/various.cpp b/engines/cine/various.cpp
index f479f06d25..700330ff05 100644
--- a/engines/cine/various.cpp
+++ b/engines/cine/various.cpp
@@ -35,7 +35,7 @@
namespace Cine {
-int16 allowSystemMenu = 0;
+bool disableSystemMenu = false;
bool inMenu;
int16 commandVar3[4];
@@ -911,7 +911,7 @@ void CineEngine::makeSystemMenu(void) {
int16 mouseY;
int16 systemCommand;
- if (!allowSystemMenu) {
+ if (!disableSystemMenu) {
inMenu = true;
manageEvents();
@@ -1332,7 +1332,7 @@ void makeCommandLine(void) {
}
}
- if (allowSystemMenu == 0) {
+ if (!disableSystemMenu) {
isDrawCommandEnabled = 1;
}
}
@@ -1362,7 +1362,7 @@ int16 makeMenuChoice(const commandeType commandList[], uint16 height, uint16 X,
int16 oldSelection;
int16 var_4;
- if (allowSystemMenu)
+ if (disableSystemMenu)
return -1;
paramY = (height * 9) + 10;
@@ -1594,7 +1594,7 @@ int16 makeMenuChoice2(const commandeType commandList[], uint16 height, uint16 X,
int16 oldSelection;
int16 var_4;
- if (allowSystemMenu)
+ if (disableSystemMenu)
return -1;
paramY = (height * 9) + 10;