diff options
author | Max Horn | 2007-11-28 15:00:41 +0000 |
---|---|---|
committer | Max Horn | 2007-11-28 15:00:41 +0000 |
commit | a556368c9942cfb8e43727ac06d73afefad6ccdc (patch) | |
tree | 3eee96d0e07d0376d2f032072a9f0f6bc68edad8 /engines/parallaction/parallaction.cpp | |
parent | 81c7b9a78689d5e22fdaf7760b5b9d3ee20b014a (diff) | |
download | scummvm-rg350-a556368c9942cfb8e43727ac06d73afefad6ccdc.tar.gz scummvm-rg350-a556368c9942cfb8e43727ac06d73afefad6ccdc.tar.bz2 scummvm-rg350-a556368c9942cfb8e43727ac06d73afefad6ccdc.zip |
Update mouse coordinates onn *all* mouse events, i.e. also after click events
svn-id: r29657
Diffstat (limited to 'engines/parallaction/parallaction.cpp')
-rw-r--r-- | engines/parallaction/parallaction.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp index 1bbe06984b..e4f936cda8 100644 --- a/engines/parallaction/parallaction.cpp +++ b/engines/parallaction/parallaction.cpp @@ -216,18 +216,22 @@ uint16 Parallaction::readInput() { case Common::EVENT_LBUTTONDOWN: _mouseButtons = kMouseLeftDown; + _mousePos = e.mouse; break; case Common::EVENT_LBUTTONUP: _mouseButtons = kMouseLeftUp; + _mousePos = e.mouse; break; case Common::EVENT_RBUTTONDOWN: _mouseButtons = kMouseRightDown; + _mousePos = e.mouse; break; case Common::EVENT_RBUTTONUP: _mouseButtons = kMouseRightUp; + _mousePos = e.mouse; break; case Common::EVENT_MOUSEMOVE: |