aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/events.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2013-06-20 21:42:48 -0400
committerPaul Gilbert2013-06-20 21:42:48 -0400
commit1c34c1847e456c68b9633bb045d833b2b0e6e501 (patch)
treedec90e463b803ebd0a2a721fb7fa080df9e25dec /engines/voyeur/events.cpp
parentff270eb61e49a10401b6643b7c5b430268597789 (diff)
downloadscummvm-rg350-1c34c1847e456c68b9633bb045d833b2b0e6e501.tar.gz
scummvm-rg350-1c34c1847e456c68b9633bb045d833b2b0e6e501.tar.bz2
scummvm-rg350-1c34c1847e456c68b9633bb045d833b2b0e6e501.zip
VOYEUR: Lock screen mouse clicks now working
Diffstat (limited to 'engines/voyeur/events.cpp')
-rw-r--r--engines/voyeur/events.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/voyeur/events.cpp b/engines/voyeur/events.cpp
index ce481e0594..e96ff12bd1 100644
--- a/engines/voyeur/events.cpp
+++ b/engines/voyeur/events.cpp
@@ -194,12 +194,14 @@ void EventsManager::pollEvents() {
return;
case Common::EVENT_LBUTTONDOWN:
_mouseButton = 1;
+ _vm->_voy._incriminate = true;
return;
case Common::EVENT_RBUTTONDOWN:
_mouseButton = 2;
return;
case Common::EVENT_LBUTTONUP:
case Common::EVENT_RBUTTONUP:
+ _vm->_voy._incriminate = false;
_mouseButton = 0;
return;
case Common::EVENT_MOUSEMOVE: