From dbc8e6bb31fbb01c88403cfe712a7ecadbcd83b5 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 30 Jan 2014 21:31:20 -0500 Subject: VOYEUR: Fix for low battery charge leaving scene when time is turned off --- engines/voyeur/files_threads.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp index 92b0191dde..0179894254 100644 --- a/engines/voyeur/files_threads.cpp +++ b/engines/voyeur/files_threads.cpp @@ -1368,7 +1368,8 @@ 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->_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(); -- cgit v1.2.3