aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cruise')
-rw-r--r--engines/cruise/cruise_main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/cruise/cruise_main.cpp b/engines/cruise/cruise_main.cpp
index 457ac5a9e1..0907dc67ec 100644
--- a/engines/cruise/cruise_main.cpp
+++ b/engines/cruise/cruise_main.cpp
@@ -1845,9 +1845,9 @@ void mainLoop(void) {
}
if (userWait) {
+ int16 mouseButton;
int16 mouseX;
int16 mouseY;
- int16 mouseButton;
do {
getMouseStatus(&main10, &mouseX, &mouseButton, &mouseY);
@@ -1866,8 +1866,6 @@ void mainLoop(void) {
manageEvents();
int16 mouseVar;
- int16 mouseX;
- int16 mouseY;
getMouseStatus(&mouseVar, &mouseX, &mouseButton, &mouseY);
flip();