From 38f90feaa53d2e81e6047e22b1ca9ce7a3d191bd Mon Sep 17 00:00:00 2001 From: Strangerke Date: Fri, 14 Mar 2014 06:51:05 +0100 Subject: VOYEUR: Hide the mouse cursor when the low battery screen is displayed --- engines/voyeur/files_threads.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'engines/voyeur') diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp index 8ca4a75d14..98fe0d0bbf 100644 --- a/engines/voyeur/files_threads.cpp +++ b/engines/voyeur/files_threads.cpp @@ -1307,12 +1307,13 @@ int ThreadResource::doInterface() { if (_vm->_voy->_RTVNum >= _vm->_voy->_RTVLimit || _vm->_voy->_RTVNum < 0) _vm->_voy->_RTVNum = _vm->_voy->_RTVLimit - 1; - if (_vm->_voy->_transitionId < 15 && _vm->_debugger->_isTimeActive && - (_vm->_voy->_RTVLimit - 3) < _vm->_voy->_RTVNum) { + if (_vm->_voy->_transitionId < 15 && _vm->_debugger->_isTimeActive + && (_vm->_voy->_RTVLimit - 3) < _vm->_voy->_RTVNum) { _vm->_voy->_RTVNum = _vm->_voy->_RTVLimit; _vm->makeViewFinder(); _vm->initIFace(); + _vm->_eventsManager->hideCursor(); _vm->_voy->_RTVNum = _vm->_voy->_RTVLimit - 4; _vm->_voy->_eventFlags &= ~EVTFLAG_TIME_DISABLED; @@ -1324,6 +1325,8 @@ int ThreadResource::doInterface() { _vm->_voy->_eventFlags |= EVTFLAG_TIME_DISABLED; chooseSTAMPButton(20); parsePlayCommands(); + + _vm->_eventsManager->showCursor(); } _vm->checkTransition(); -- cgit v1.2.3