Bugfix for mouse button clicks getting counted multiple times

svn-id: r42798
This commit is contained in:
Paul Gilbert 2009-07-26 09:40:35 +00:00
parent f15eb91d77
commit da4367096e

View File

@ -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