diff options
author | Jaromir Wysoglad | 2019-07-09 00:00:30 +0200 |
---|---|---|
committer | Thierry Crozat | 2019-07-28 15:09:14 +0100 |
commit | f9d13b8d2c92757eafe29fb796602f2fad0d98ed (patch) | |
tree | 0d609f3931b1a5e59076aaf748424ea449f090f3 /engines | |
parent | b883958c0582660dd0d7aa0bdf8a1edad30c7448 (diff) | |
download | scummvm-rg350-f9d13b8d2c92757eafe29fb796602f2fad0d98ed.tar.gz scummvm-rg350-f9d13b8d2c92757eafe29fb796602f2fad0d98ed.tar.bz2 scummvm-rg350-f9d13b8d2c92757eafe29fb796602f2fad0d98ed.zip |
SUPERNOVA: Add translated Indiana Joe image
Diffstat (limited to 'engines')
-rw-r--r-- | engines/supernova/graphics.cpp | 20 |
1 files changed, 13 insertions, 7 deletions
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) |