diff options
author | Eugene Sandulenko | 2004-10-04 23:51:23 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-10-04 23:51:23 +0000 |
commit | 53d807ab169572a9991c18cc1373b585a8ec44d8 (patch) | |
tree | 25ccf882fc830933f9b3440c46f9304e0bdba167 /saga | |
parent | 8b7740d8afda1b9796f8df91242a41f5eed62190 (diff) | |
download | scummvm-rg350-53d807ab169572a9991c18cc1373b585a8ec44d8.tar.gz scummvm-rg350-53d807ab169572a9991c18cc1373b585a8ec44d8.tar.bz2 scummvm-rg350-53d807ab169572a9991c18cc1373b585a8ec44d8.zip |
Fix button clicking. Now actor walks to correct spot and interface buttons
work.
svn-id: r15415
Diffstat (limited to 'saga')
-rw-r--r-- | saga/input.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/saga/input.cpp b/saga/input.cpp index c9d9199ff5..08ee8a2bf1 100644 --- a/saga/input.cpp +++ b/saga/input.cpp @@ -111,6 +111,9 @@ int SagaEngine::processInput() { } break; case OSystem::EVENT_LBUTTONDOWN: + _mousePos.x = event.mouse.x; + _mousePos.y = event.mouse.y; + imouse_pt = _mousePos; _vm->_interface->update(&imouse_pt, UPDATE_MOUSECLICK); break; case OSystem::EVENT_MOUSEMOVE: |