From bc78e613fdd187b2dec4e045c37c2178248ba195 Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Thu, 14 Dec 2017 00:11:01 +0000 Subject: SUPERNOVA: Do not try to render INTRO room This room has no image and this avoids getting a warning about image file not found. --- engines/supernova/supernova.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/supernova/supernova.cpp') 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; -- cgit v1.2.3