mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 09:56:30 +00:00
Bugfix for mouse button clicks getting counted multiple times
svn-id: r42798
This commit is contained in:
parent
f15eb91d77
commit
da4367096e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user