aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/cine/various.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/cine/various.cpp b/engines/cine/various.cpp
index 58b0c9f269..ecff8b263b 100644
--- a/engines/cine/various.cpp
+++ b/engines/cine/various.cpp
@@ -1518,6 +1518,7 @@ void makeCommandLine(void) {
}
if (!disableSystemMenu) {
+ isDrawCommandEnabled = 1;
renderer->setCommand(commandBuffer);
}
}
@@ -1690,6 +1691,11 @@ uint16 executePlayerInput(void) {
}
if (allowPlayerInput) {
+ if (isDrawCommandEnabled) {
+ renderer->setCommand(commandBuffer);
+ isDrawCommandEnabled = 0;
+ }
+
getMouseData(mouseUpdateStatus, &mouseButton, &mouseX, &mouseY);
while (mouseButton && currentEntry < 200) {