diff options
author | Robert Göffringmann | 2003-06-06 01:14:17 +0000 |
---|---|---|
committer | Robert Göffringmann | 2003-06-06 01:14:17 +0000 |
commit | 8e8c702e65ec4170bd8c4c8b6d89d4c97db1a5e1 (patch) | |
tree | bd0ad5e3dbdbfc6b467c2bc7c111054636fb3f77 /sky/sky.cpp | |
parent | ddf44b02757cb270f0dbdfd414e7cb3792251f21 (diff) | |
download | scummvm-rg350-8e8c702e65ec4170bd8c4c8b6d89d4c97db1a5e1.tar.gz scummvm-rg350-8e8c702e65ec4170bd8c4c8b6d89d4c97db1a5e1.tar.bz2 scummvm-rg350-8e8c702e65ec4170bd8c4c8b6d89d4c97db1a5e1.zip |
forgot to implement right mousebutton. :)
svn-id: r8343
Diffstat (limited to 'sky/sky.cpp')
-rw-r--r-- | sky/sky.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sky/sky.cpp b/sky/sky.cpp index d68237b3d6..ecfe120dcf 100644 --- a/sky/sky.cpp +++ b/sky/sky.cpp @@ -286,8 +286,7 @@ void SkyState::delay(uint amount) { //copied and mutilated from Simon.cpp break; case OSystem::EVENT_LBUTTONDOWN: - _left_button_down++; - _skyMouse->buttonPressed(); + _skyMouse->buttonPressed(1); #ifdef _WIN32_WCE _sdl_mouse_x = event.mouse.x; _sdl_mouse_y = event.mouse.y; @@ -295,7 +294,7 @@ void SkyState::delay(uint amount) { //copied and mutilated from Simon.cpp break; case OSystem::EVENT_RBUTTONDOWN: - + _skyMouse->buttonPressed(2); break; default: |