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/agi | |
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/agi')
-rw-r--r-- | engines/agi/agi.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp index b5b396f0e9..412b19fb17 100644 --- a/engines/agi/agi.cpp +++ b/engines/agi/agi.cpp @@ -110,6 +110,8 @@ void AgiEngine::processEvents() { case Common::EVENT_LBUTTONUP: case Common::EVENT_RBUTTONUP: g_mouse.button = 0; + g_mouse.x = event.mouse.x; + g_mouse.y = event.mouse.y; break; case Common::EVENT_KEYDOWN: _keyControl = 0; |