VOYEUR: Fix for low battery charge leaving scene when time is turned off

This commit is contained in:
Paul Gilbert 2014-01-30 21:31:20 -05:00
parent 1e9bce479d
commit dbc8e6bb31

View File

@ -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();