aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise
diff options
context:
space:
mode:
authorSven Hesse2007-12-25 21:17:35 +0000
committerSven Hesse2007-12-25 21:17:35 +0000
commit1796c147fc1dc633827c253f270a711d884642e7 (patch)
tree04377dabb48ea11e51809765e234d3ad3a1672f9 /engines/cruise
parent1b62e2758c198f92956815fc66b979f4673c3cbe (diff)
downloadscummvm-rg350-1796c147fc1dc633827c253f270a711d884642e7.tar.gz
scummvm-rg350-1796c147fc1dc633827c253f270a711d884642e7.tar.bz2
scummvm-rg350-1796c147fc1dc633827c253f270a711d884642e7.zip
Muting the compiler :P
svn-id: r29991
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();