From f9d13b8d2c92757eafe29fb796602f2fad0d98ed Mon Sep 17 00:00:00 2001 From: Jaromir Wysoglad Date: Tue, 9 Jul 2019 00:00:30 +0200 Subject: SUPERNOVA: Add translated Indiana Joe image --- engines/supernova/graphics.cpp | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'engines') diff --git a/engines/supernova/graphics.cpp b/engines/supernova/graphics.cpp index e8b4ce1679..a9ef2e5bf7 100644 --- a/engines/supernova/graphics.cpp +++ b/engines/supernova/graphics.cpp @@ -93,13 +93,19 @@ bool MSNImage::init(int filenumber) { bool MSNImage::loadPbmFromEngineDataFile() { Common::String name; - if (_vm->_MSPart == 2) - return false; - if (_filenumber == 1) - name = "IMG1"; - else if (_filenumber == 2) - name = "IMG2"; - else + if (_vm->_MSPart == 2) { + if (_filenumber == 38) + name = "IMG3"; + else + return false; + } else if (_vm->_MSPart == 1) { + if (_filenumber == 1) + name = "IMG1"; + else if (_filenumber == 2) + name = "IMG2"; + else + return false; + } else return false; Common::SeekableReadStream *stream = _vm->getBlockFromDatFile(name); if (stream == nullptr) -- cgit v1.2.3