aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur
diff options
context:
space:
mode:
authorStrangerke2014-03-14 06:51:05 +0100
committerStrangerke2014-03-14 06:51:05 +0100
commit38f90feaa53d2e81e6047e22b1ca9ce7a3d191bd (patch)
tree4c1fc2d021929004e17682a2d1424d45916c0b57 /engines/voyeur
parent779f3e5876b803f11c78d70dbadd882596f0f1e6 (diff)
downloadscummvm-rg350-38f90feaa53d2e81e6047e22b1ca9ce7a3d191bd.tar.gz
scummvm-rg350-38f90feaa53d2e81e6047e22b1ca9ce7a3d191bd.tar.bz2
scummvm-rg350-38f90feaa53d2e81e6047e22b1ca9ce7a3d191bd.zip
VOYEUR: Hide the mouse cursor when the low battery screen is displayed
Diffstat (limited to 'engines/voyeur')
-rw-r--r--engines/voyeur/files_threads.cpp7
1 files changed, 5 insertions, 2 deletions
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();