diff options
author | Thierry Crozat | 2017-12-14 00:11:01 +0000 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:15:43 +0000 |
commit | bc78e613fdd187b2dec4e045c37c2178248ba195 (patch) | |
tree | 5c486ea0aceffd8a9e585400bb7ac4b8587c569f /engines/supernova | |
parent | d8284756bb346ed4aa9dfe5d97fe34ee37a84ca9 (diff) | |
download | scummvm-rg350-bc78e613fdd187b2dec4e045c37c2178248ba195.tar.gz scummvm-rg350-bc78e613fdd187b2dec4e045c37c2178248ba195.tar.bz2 scummvm-rg350-bc78e613fdd187b2dec4e045c37c2178248ba195.zip |
SUPERNOVA: Do not try to render INTRO room
This room has no image and this avoids getting a warning
about image file not found.
Diffstat (limited to 'engines/supernova')
-rw-r--r-- | engines/supernova/supernova.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp index 6b1006aee3..63694aa30d 100644 --- a/engines/supernova/supernova.cpp +++ b/engines/supernova/supernova.cpp @@ -508,6 +508,9 @@ void SupernovaEngine::restoreScreen() { } void SupernovaEngine::renderRoom(Room &room) { + if (room.getId() == INTRO) + return; + if (setCurrentImage(room.getFileNumber())) { for (int i = 0; i < _currentImage->_numSections; ++i) { int section = i; |