diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/voyeur/events.cpp | 1 | ||||
-rw-r--r-- | engines/voyeur/voyeur_game.cpp | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/engines/voyeur/events.cpp b/engines/voyeur/events.cpp index deaa978a46..d79b6a0fed 100644 --- a/engines/voyeur/events.cpp +++ b/engines/voyeur/events.cpp @@ -72,6 +72,7 @@ EventsManager::EventsManager(): _intPtr(_gameData), _mouseButton = 0; _fadeStatus = 0; _priorFrameTime = g_system->getMillis(); + _gameCounter = 0; _joe = 0; Common::fill(&_keyState[0], &_keyState[256], false); Common::fill(&_cycleTime[0], &_cycleTime[4], 0); diff --git a/engines/voyeur/voyeur_game.cpp b/engines/voyeur/voyeur_game.cpp index d57f9a6732..fe53e26252 100644 --- a/engines/voyeur/voyeur_game.cpp +++ b/engines/voyeur/voyeur_game.cpp @@ -433,11 +433,11 @@ void VoyeurEngine::reviewTape() { if ((eventStart + _voy._eventCount) <= 7) eventLine = eventStart + _voy._eventCount - 1; - _voy._viewBounds = _bVoy->boltEntry(0x907)._rectResource; - Common::Array<Common::Rect> &hotspots = _bVoy->boltEntry(0x906)._rectResource->_entries; - bool breakFlag = false; while (!shouldQuit() && !breakFlag) { + _voy._viewBounds = _bVoy->boltEntry(0x907)._rectResource; + Common::Array<Common::Rect> &hotspots = _bVoy->boltEntry(0x906)._rectResource->_entries; + _graphicsManager._backColors = _bVoy->boltEntry(0x902)._cMapResource; _graphicsManager._backgroundPage = _bVoy->boltEntry(0x901)._picResource; (*_graphicsManager._vPort)->setupViewPort(_graphicsManager._backgroundPage); |