diff options
Diffstat (limited to 'engines/adl/hires2.cpp')
-rw-r--r-- | engines/adl/hires2.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/engines/adl/hires2.cpp b/engines/adl/hires2.cpp index e9ca86ff82..69e7e74589 100644 --- a/engines/adl/hires2.cpp +++ b/engines/adl/hires2.cpp @@ -96,13 +96,7 @@ void HiRes2Engine::init() { // Load global picture data stream.reset(_disk->createReadStream(0x19, 0xa, 0x80, 0)); - byte picNr; - while ((picNr = stream->readByte()) != 0xff) { - if (stream->eos() || stream->err()) - error("Error reading global pic list"); - - _pictures[picNr] = readDataBlockPtr(*stream); - } + loadPictures(*stream); // Load item picture data stream.reset(_disk->createReadStream(0x1e, 0x9, 0x05)); |