diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/voyeur/files_threads.cpp | 2 | ||||
-rw-r--r-- | engines/voyeur/voyeur.h | 2 | ||||
-rw-r--r-- | engines/voyeur/voyeur_game.cpp | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp index 918f8338cf..3ab3067762 100644 --- a/engines/voyeur/files_threads.cpp +++ b/engines/voyeur/files_threads.cpp @@ -1339,7 +1339,7 @@ int ThreadResource::doInterface() { do { _vm->_voyeurArea = AREA_INTERFACE; - _vm->doTimeBar(true); + _vm->doTimeBar(); _vm->_eventsManager.getMouseInfo(); if (checkMansionScroll()) diff --git a/engines/voyeur/voyeur.h b/engines/voyeur/voyeur.h index 70202b0812..445c122591 100644 --- a/engines/voyeur/voyeur.h +++ b/engines/voyeur/voyeur.h @@ -242,7 +242,7 @@ public: /** * Displays the time/charge remaining on the video camera screen */ - void doTimeBar(bool force); + void doTimeBar(); /** * If necessary, flashes the time remaining bar on the video camera screen diff --git a/engines/voyeur/voyeur_game.cpp b/engines/voyeur/voyeur_game.cpp index 2c0df874b1..07003acfe3 100644 --- a/engines/voyeur/voyeur_game.cpp +++ b/engines/voyeur/voyeur_game.cpp @@ -1019,7 +1019,7 @@ void VoyeurEngine::makeViewFinder() { } (*_graphicsManager._vPort)->drawIfaceTime(); - doTimeBar(true); + doTimeBar(); pal->startFade(); flipPageAndWaitForFade(); @@ -1271,10 +1271,10 @@ void VoyeurEngine::getComputerBrush() { } } -void VoyeurEngine::doTimeBar(bool force) { +void VoyeurEngine::doTimeBar() { flashTimeBar(); - if ((force || _timeBarVal != _voy._RTVNum) && _voy._RTVLimit > 0) { + if (_voy._RTVLimit > 0) { if (_voy._RTVNum > _voy._RTVLimit || _voy._RTVNum < 0) _voy._RTVNum = _voy._RTVLimit - 1; |