diff options
Diffstat (limited to 'engines/adl/hires0.cpp')
-rw-r--r-- | engines/adl/hires0.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/engines/adl/hires0.cpp b/engines/adl/hires0.cpp index 34a1b264f3..1c18123571 100644 --- a/engines/adl/hires0.cpp +++ b/engines/adl/hires0.cpp @@ -73,13 +73,7 @@ void HiRes0Engine::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)); |