mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 23:57:32 +00:00
Index the "mouse list" from 0 instead of 1. I have no idea why it wasn't
this way to begin with. svn-id: r16959
This commit is contained in:
parent
36705d4344
commit
bed897719c
@ -122,7 +122,7 @@ void Mouse::setPos(int x, int y) {
|
||||
*/
|
||||
|
||||
void Mouse::resetMouseList() {
|
||||
_curMouse = 1;
|
||||
_curMouse = 0;
|
||||
}
|
||||
|
||||
void Mouse::registerMouse(ObjectMouse *ob_mouse, BuildUnit *build_unit) {
|
||||
@ -968,7 +968,7 @@ uint32 Mouse::checkMouseList() {
|
||||
|
||||
// Number of priorities subject to implementation needs
|
||||
for (int priority = 0; priority < 10; priority++) {
|
||||
for (uint i = 1; i < _curMouse; i++) {
|
||||
for (uint i = 0; i < _curMouse; i++) {
|
||||
// If the mouse pointer is over this
|
||||
// mouse-detection-box
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user