diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/voyeur/data.h | 2 | ||||
-rw-r--r-- | engines/voyeur/voyeur.cpp | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/engines/voyeur/data.h b/engines/voyeur/data.h index 899b10c53d..8f926db36d 100644 --- a/engines/voyeur/data.h +++ b/engines/voyeur/data.h @@ -147,7 +147,7 @@ public: RectResource *_viewBounds; int _curICF0; int _curICF1; - int _fadeICF0; + bool _fadeICF0; // Useless variable? (always the same value) int _policeEvent; int _eventCount; diff --git a/engines/voyeur/voyeur.cpp b/engines/voyeur/voyeur.cpp index 5b93b460ea..adec4fbffa 100644 --- a/engines/voyeur/voyeur.cpp +++ b/engines/voyeur/voyeur.cpp @@ -119,7 +119,10 @@ void VoyeurEngine::globalInitBolt() { assert(_graphicsManager._fontPtr->_curFont); // Setup default flags + _voy._fadeICF0 = false; + _voy._viewBounds = nullptr; _voy._curICF0 = _graphicsManager._palFlag ? 0xFFFFA5E0 : 0x5F90; + _eventsManager.addFadeInt(); } |