aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2009-07-26 09:40:35 +0000
committerPaul Gilbert2009-07-26 09:40:35 +0000
commitda4367096e292589fc93c9f1296da260caa91532 (patch)
tree2dfbe013f5902a8c91a6c1f06aacdbcfb956c7d8 /engines
parentf15eb91d7726aa3b23786df86c3d8937c854e15b (diff)
downloadscummvm-rg350-da4367096e292589fc93c9f1296da260caa91532.tar.gz
scummvm-rg350-da4367096e292589fc93c9f1296da260caa91532.tar.bz2
scummvm-rg350-da4367096e292589fc93c9f1296da260caa91532.zip
Bugfix for mouse button clicks getting counted multiple times
svn-id: r42798
Diffstat (limited to 'engines')
-rw-r--r--engines/cruise/cruise_main.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/cruise/cruise_main.cpp b/engines/cruise/cruise_main.cpp
index 30038e94f0..e2d6b5a323 100644
--- a/engines/cruise/cruise_main.cpp
+++ b/engines/cruise/cruise_main.cpp
@@ -1538,20 +1538,17 @@ int CruiseEngine::processInput(void) {
aniX = mouseX;
aniY = mouseY;
animationStart = true;
- buttonDown = 0;
}
} else {
aniX = mouseX;
aniY = mouseY;
animationStart = true;
- buttonDown = 0;
}
} else {
// No object found, we move the character to the cursor
aniX = mouseX;
aniY = mouseY;
animationStart = true;
- buttonDown = 0;
}
} else {
// handle click in menu